Utility for managing Signal Sciences sites
Project description
Signal Sciences Site Management Tool
Prerequisites
This tool requires Python 3
Installation
$ python3 setup.py install
Usage
Main Usage
$ sigsci_site_manager --help
usage: sigsci_site_manager [-h] [--corp CORP] [--user [USERNAME]]
[--password [PASSWORD] | --token [APITOKEN]]
{list,deploy,backup,clone} ...
Signal Sciences site management
optional arguments:
-h, --help show this help message and exit
--corp CORP, -c CORP Signal Sciences corp name. If omitted will try to use
value in $SIGSCI_CORP.
--user [USERNAME], -u [USERNAME]
Signal Sciences username. If omitted will try to use
value in $SIGSCI_EMAIL.
--password [PASSWORD], -p [PASSWORD]
Signal Sciences password. If omitted will try to use
value in $SIGSCI_PASSWORD
--token [APITOKEN], -t [APITOKEN]
Signal Sciences API token. If omitted will try to use
value in $SIGSCI_API_TOKEN
Commands:
{list,deploy,backup,clone,merge}
list List sites
deploy Deploy a new site from a file
backup Backup a site to a file
clone Clone an existing site to a new site
merge Merge a site onto another
List Command
$ sigsci_site_manager list --help
usage: sigsci_site_manager list [-h]
optional arguments:
-h, --help show this help message and exit
Backup Command
$ sigsci_site_manager backup --help
usage: sigsci_site_manager backup [-h] --name NAME --out FILENAME
optional arguments:
-h, --help show this help message and exit
--name NAME, -n NAME Site name
--out FILENAME, -o FILENAME
File to save backup to
Deploy Command
$ sigsci_site_manager deploy --help
usage: sigsci_site_manager deploy [-h] --name NAME
[--display-name "Display Name"] --file
FILENAME [--dry-run]
optional arguments:
-h, --help show this help message and exit
--name NAME, -n NAME Identifying name of the site
--display-name "Display Name", -N "Display Name"
Display name of the site
--file FILENAME, -f FILENAME
Name of site file
--dry-run Print actions without making any changes
Clone Command
$ sigsci_site_manager clone --help
usage: sigsci_site_manager clone [-h] --src SITE --dest SITE
[--display-name "Display Name"] [--dry-run]
optional arguments:
-h, --help show this help message and exit
--src SITE, -s SITE Site to clone from
--dest SITE, -d SITE Site to clone to
--display-name "Display Name", -N "Display Name"
Display name of the new site
--dry-run Print actions without making any changes
Merge Command
$ sigsci_site_manager merge --help
usage: sigsci_site_manager merge [-h] --dest SITE
[--src SITE | --file FILENAME] [--dry-run]
optional arguments:
-h, --help show this help message and exit
--dest SITE, -d SITE Site to merge onto
--src SITE, -s SITE Site to merge from
--file FILENAME, -f FILENAME
Name of site file to merge from
--dry-run Print actions without making any changes
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sigsci_site_manager-1.0.0.tar.gz
(10.0 kB
view hashes)
Built Distribution
Close
Hashes for sigsci_site_manager-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0084cc39b36b74f433b50c391210d936084c67e04a55c695a9af1492041cfa8 |
|
MD5 | 2e156cd1321d37a02fa95de79030010f |
|
BLAKE2b-256 | bdf5a1fe5861fc0a02ee6a1e053b4cb163f015aad9034573c0dfca1f0e2a1729 |
Close
Hashes for sigsci_site_manager-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48fa9df1b99cd16b5ca32f3fc9656302f4bb255c2c7d449588f491ddbe2f8e20 |
|
MD5 | 1380e043f6a674fa44042da1d9ba9311 |
|
BLAKE2b-256 | fbe7e0df4bc3aa41548162bca4f4b7f99a579da3212244270fe3fef24cf4da19 |