Status: Beta. Breaking changes are expected until 1.0.
A command-line application to create, read and interact with Atomic Data.
Designed and tested to work with atomic-server.
atomic-cli 0.23.2 Joep Meindertsma <firstname.lastname@example.org> Create, share, fetch and model Atomic Data! USAGE: atomic-cli [SUBCOMMAND] FLAGS: -h, --help Prints help information -V, --version Prints version information SUBCOMMANDS: destroy Permanently removes a Resource. edit Edit a single Atom from a Resource using your text editor. get Get a Resource or Value by using Atomic Paths. help Prints this message or the help of the given subcommand(s) list List all bookmarks new Create a Resource remove Remove a single Atom from a Resource. set Update a single Atom. Creates both the Resource if they don't exist. Overwrites existing. Visit https://atomicdata.dev for more info
You can install `atomic-cli: in multiple ways:
cargo install atomic-cli
git clone email@example.com:atomicdata-dev/atomic-server.git cd atomic/cli # Install atomic to path cargo install --path ./
atomic-cli command --help for mor information about specific commands.
The write commands (
destroy) require some authentication config, which needs to match with the target atomic-server.
It will read the
~/.config/atomic/config.toml file, and create one using some prompts if it is not yet present.
listcommand for showing local bookmarks (mappings)
getcommand for finding resources and parts of data using Atomic Paths with various serialization options (JSON, JSON-AD, JSON-LD, Turtle, N-Triples, Pretty). Also supports path traversal.
editcommands that send commits.
newcommand for instantiating Atomic Classes
Atomic creates a
~/.config/atomic folder, which contains a
mapping.amp and a
This folder is also used by
The Mapping refers to your user specific set of shortname-URL combinations.
This Mapping lives as a simple text file in