Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ArkScript-lang/nuclear

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
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

About

ArkScript package manager - a Python proof of concept

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.