specify_cli-repository
- A command line interface for Specify
specify_cli
[global options] repository
path
specify_cli
[global options] repository
--c
The database configuration file (default: ~/.specify_dbs.rc.yaml) has a
dir_names
section which contains mappings of paths for directories containing
Specify resource files to hostnames.
The specify_cli-viewset(1) command can automatically resolve targets (host, database, collection, level) based on branch names in a Git repository. To allow working with multiple databases on different hosts, a repository needs to be mapped to a host name. This is done by mapping the full path name of the directory to a hostname.
The repository command will map the directory path passed as an argument to
the host provided using the -H
or --host
global option.
-c
, --current
Map the directory ~/specify_forms/invertpaleo
to the host
specify.example.org
:
specify_cli -H specify.example.org repository\n
~/specify_forms/invertpaleo
Map the current directory to localhost:
specify_cli repository --current
Part of the specify_cli(1) suite