ASIMOV Command-Line Interface (CLI)
🚧 We are building in public. This is presently under heavy construction.
✨ Features
- 100% free and unencumbered public domain software.
🛠️ Prerequisites
- Rust 1.85+
⬇️ Installation
Installation from Source Code
Installation via Cargo
cargo install asimov-cli --version 25.0.0-dev.9
Installation using Package Manager
Firstly, register this tap in your local Homebrew installation with:
brew tap asimov-platform/tap
Now you can install ASIMOV CLI with:
brew install asimov-cli
First things first, you need to add our custom Scoop bucket:
scoop bucket add asimov-platform https://github.com/asimov-platform/scoop-bucket
Now, installing ASIMOV CLI is as easy as running:
scoop install asimov-platform/asimov-cli
Nix flakes is an experimental feature that has to be enabled before going any further:
mkdir -p ~/.config/nix && echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
Now you can register the flake using:
nix registry add asimov-cli github:asimov-platform/nix-flake
And then install ASIMOV CLI with:
nix profile install asimov-cli#default --no-write-lock-file
First add the ASIMOV Platform Flatpak remote:
flatpak remote-add --if-not-exists --user asimov-cli --no-gpg-verify https://asimov-platform.github.io/flatpak
Then install ASIMOV CLI with:
flatpak install asimov-cli so.asimov.cli
Now you can run it like this:
flatpak run so.asimov.cli --help
You may want to create an alias for it:
alias asimov="flatpak run so.asimov.cli"
👉 Examples
Show help, including all available commands:
asimov help
When running commands you can add one or more -v
flags to increase verbosity level.
Fetch data
# Fetch data from a URL, automatically choosing from installed modules
asimov fetch https://example.com/
# To fetch with a specific module use `-m` or `--module`
asimov fetch -m http https://example.com/
# Fetch multiple URLs
asimov fetch https://asimov.sh/ https://asimov.blog/
Import data as RDF from a URL
If you have the ASIMOV Bright Data module installed and configured, you should be able to fetch various social platform resources:
# Import data from a URL, automatically choosing from installed modules
asimov import https://x.com/asimov_platform
# Import using the specific module
asimov import -m brightdata https://x.com/asimov_platform
External Commands
The CLI automatically discovers and runs external commands starting with asimov-
.
If you installed using a package manager you should have access to ASIMOV Module CLI for managing installed modules:
# If you have asimov-module-cli installed
asimov module [arguments]
asimov module install http
# Get help for external commands
asimov help module
📚 Reference
TBD
👨💻 Development
git clone https://github.com/asimov-platform/asimov-cli.git