Skip to content

ComlineProject/package-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comline Package Manager

Relevant resources

https://doc.rust-lang.org/cargo/reference/registries.html

Development Temporary Requirements

Configuration Env Variable

This is temporary, the environment variables can be set manually but optimally should be done on installation of the package manager

Linux

From this directory(comline-rs/, be sure you are here) in console, make an alias to the executable:

  • Fish: set COMLINE_HOME=~/.config/comline"
  • Bash: COMLINE_HOME=~/.config/comline (might be wrong, didn't test)

You can check if it's working by doing echo $COMLINE_HOME

Package Manager Install

cargo install --path . --offline

If installing doesn't work well while developing, check below how to alias directly to a debug build temporarily (duration of shell's process live)

Package Manager Alias

This is a very temporary alias for development (which might just easily break), since we need to use the package manager sometimes, lets do an alias:

Linux

From this directory(comline-rs/, be sure you are here) in console, make an alias to the executable:

  • Fish: alias comline-dev="\"$(pwd)/target/debug/comline-package-manager\""
  • Bash: alias comline-dev="\"$PWD/target/debug/comline-package-manager\"" (might be wrong, didn't test)

Now the command comline-dev is available

CLI Options Proposal

comlinepm login --method=<ssh|github|...> --username= --password=<optional<password|token>>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages