Abstra CLI
Reason this release was yanked:
Deprecaded
Project description
abstra-cli
Install
Download from pip (preferably using pipx):
pip[x] install abstra-cli
Commands
Most commands are authenticated. To authenticate you need to generate an API Token here.
Authentication credentials are stored in the current directory at .abstra/credentials
.
Alternatively you can set the ABSTRA_API_TOKEN
environment variable.
Configure
abstra configure [API_TOKEN]
Configures the current working directory credentials. Credentials are stored at .abstra/credentials
.
Ignoring files
You can ignore files placing a .abstraignore
at the target directory:
__pycache__
tests/
*.ipynb
.abstraignore
itself will always be ignored
Remote resources
Remote resources can be files
, vars
or packages
.
You can manage remote resources with the following commands:
List resources
abstra list RESOURCE
List remote resources on your workspace.
Examples:
abstra list packages
abstra list vars
abstra list files
Add resource
abstra add RESOURCE [...OPTIONS]
Adds remote resources on your workspace.
Examples:
# Files
abstra add files foo.txt bar.log
abstra add files foo/ ./
# Vars
abstra add vars ENVIROMENT=production VERSION=1.0.0
abstra add vars -f .env
abstra add vars --file .env
# Packages
abstra add packages pandas numpy=1.0.1 scipy>=1.0.1
abstra add packages -f requirements.txt
abstra add packages -r requirements.txt
abstra add packages --file requirements.txt
abstra add packages --requirement requirements.txt
Remove resource
abstra remove RESOURCE [...OPTIONS]
Remove remote resources from your workspace.
Examples:
abstra remove files foo.txt bar.log
abstra remove vars ENVIROMENT VERSION
abstra remove packages pandas numpy scipy
Aliases
Some commands have aliases.
upload
# Alias for `abstra add files` with default argument `.`
abstra upload [FILES or DIRECTORIES, default: .]
ls
# Alias for `abstra list files`
abstra ls
rm
# Alias for `abstra remove files`
abstra rm
install
# Alias for `abstra add packages`
abstra install [PACKAGES]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for abstra_cli-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 456f4a9a1c722ff0403930e5501a6059c0a47facff7dfbdc46d7add684fd7966 |
|
MD5 | 975672a43bafb0dd5f8de43af404e894 |
|
BLAKE2b-256 | 6d1181523e4aee6d39145ab6b94f4e4b81d51ca83f319dc38c79351a6c692588 |