Skip to content

lagrangedao/lagrange-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  • With lagrange-cli as the current work directory
git clone [email protected]:lagrangedao/lagrange-cli.git
cd lagrange-cli
pip install .

Usage

Clone Lagrange Repo

  • Clones provided Lagrange repo into current directory
  • Creates a new folder for the dataset in the current directory
lag clone https://lagrangedao.org/<type>/<wallet_address>/<name>

Pull Lagrange Repo

  • Pulls latest version of a lagrange repo
  • Must be done inside a cloned / initialized lagrange repo
cd some-cloned-dataset
lag pull

Add Files

  • Add files to be comitted
  • Must be done inside a cloned lagrange repo
lag add file1 file2 file3 ...
  • To add all files in current directory and subdirectories
lag add .

Remove Added Files

  • Removes added files
  • Must be done inside a cloned lagrange repo
lag remove file1 file2 file3 ...

Commit Files

  • Commit added files to be pushed
lag commit -m "commit message"

Push Dataset

  • Push comitted files to designated dataset
  • Must be done inside a cloned lagrange repo
lag push https://lagrangedao.org/<type>/<wallet_address>/<name>

Config Commands

Set API Token

lag config --api-token <TOKEN>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages