Skip to content

ArkScript-lang/nuclear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuclear - poc

An ArkScript Package Manager

Instructions to Run

  • Pre-Requisites

    • Python3.6 or above
  • Directions to install

    • Clone the repo
    git clone https://github.com/ArkScript-lang/nuclear
    • Navigate into the repo
    cd nuclear
    • Activate a virtual env
    python3 -m venv ./venv
    # windows
    .\venv\Scripts\activate.bat
    # linux
    source ./venv/bin/activate
    • Install the requirements
    pip3 install -r requirements.txt

Troubleshooting

  • If you're facing an issue where you cannot download any more tarballs, you might have been rate limited by GitHub
  • To increase the rate limit, generate a personal access token
  • add token to nuclear
nuclear --login --token <YOUR TOKEN HERE>

Commands

  • To see the help command

    nuclear -h
    nuclear --help
  • Authentication (using Github Access Token)

     --token TOKEN     GitHub token, required if rate limiting is an issue
  • To Install an ArkScript Package from Github

    nuclear install [-h] [-v VERSION] package
    • Positional Arguments format of the package:
    user/repo
    • Optional Arguments
      • show this help message and exit
      -h, --help            
      • Specify a version for the package
      -v VERSION, --version VERSION
  • To Remove an ArkScript Package

    nuclear remove [-h] [-v VERSION] [-g GLOBALLY] package
    • Positional Arguments: format of the package:
    user/repo
    • Optional Arguments

      • show this help message and exit
      -h, --help            
      • Specify a version for the package
      -v VERSION, --version VERSION
      • Remove a package from the local repositories. If not specified, remove a package from the current project packages list
      -g GLOBALLY, --globally GLOBALLY

Launching tests

python3 -m tests

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •  

Languages