# SliceCommander
Tool for manipulating FABRIC slices on the command line.
## Installing
```
pip3 install -e .
```
* slice-commander (fablib) expects a valid `fabric_rc` file at `$HOME/work/fabric_config/fabric_rc`
## Usage
```
$ slice-commander -h
Usage:
slice-commander [options]
slice-commander [options] show
slice-commander [options] renew DAYS
slice-commander [options] delete
slice-commander (-h | --help)
Options:
-h --help
-s SLICE --slice SLICE
```
* When run without arguments, `slice-commander` will attempt to load all of your active slices.
* Once loaded, you may interact with the shell similar to a *nix bash shell with completion.
Example:
```
fabric-sc (/)> ?
Documented commands (type help <topic>):
========================================
EOF cd delete exit help ls lsd pwd renew show ssh sync
fabric-sc (/)> help ssh
SSH to a node: ssh [node_path]
The ssh command can also be used within a node leaf
fabric-sc (/)> show --> [tab]
components interfaces keys networks nodes
```
Raw data
{
"_id": null,
"home_page": "https://github.com/fabric-testbed/slice-commander",
"name": "SliceCommander",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "fabric slice command",
"author": "Ezra Kissel",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/ad/ca/b35a44e240511678c29bea770d40c3b2a541e8fa2865ac6d45ba4e385e36/SliceCommander-0.1.post6.tar.gz",
"platform": null,
"description": "# SliceCommander\nTool for manipulating FABRIC slices on the command line.\n\n## Installing\n\n```\npip3 install -e .\n```\n\n * slice-commander (fablib) expects a valid `fabric_rc` file at `$HOME/work/fabric_config/fabric_rc`\n\n## Usage\n\n```\n$ slice-commander -h\nUsage:\n slice-commander [options]\n slice-commander [options] show\n slice-commander [options] renew DAYS\n slice-commander [options] delete\n slice-commander (-h | --help)\n\nOptions:\n -h --help\n -s SLICE --slice SLICE\n```\n\n * When run without arguments, `slice-commander` will attempt to load all of your active slices.\n * Once loaded, you may interact with the shell similar to a *nix bash shell with completion.\n \n Example:\n \n ```\n fabric-sc (/)> ?\n\nDocumented commands (type help <topic>):\n========================================\nEOF cd delete exit help ls lsd pwd renew show ssh sync\n\nfabric-sc (/)> help ssh\nSSH to a node: ssh [node_path]\nThe ssh command can also be used within a node leaf\nfabric-sc (/)> show --> [tab]\ncomponents interfaces keys networks nodes \n```\n",
"bugtrack_url": null,
"license": "",
"summary": "FABRIC Slice Commander",
"version": "0.1.post6",
"project_urls": {
"Homepage": "https://github.com/fabric-testbed/slice-commander"
},
"split_keywords": [
"fabric",
"slice",
"command"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f6106763d1b8327dce537c0c148d7962af8bb02b7df9f9614ad4dfc72af44194",
"md5": "06d6cea4f3f32a42380449b2f133d6a6",
"sha256": "a05601c6dda6ff6da5f7d18a3399b6a493bdb01e20a98b2bf2e5b01033f08266"
},
"downloads": -1,
"filename": "SliceCommander-0.1.post6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "06d6cea4f3f32a42380449b2f133d6a6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 10761,
"upload_time": "2023-09-15T19:21:43",
"upload_time_iso_8601": "2023-09-15T19:21:43.892013Z",
"url": "https://files.pythonhosted.org/packages/f6/10/6763d1b8327dce537c0c148d7962af8bb02b7df9f9614ad4dfc72af44194/SliceCommander-0.1.post6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "adcab35a44e240511678c29bea770d40c3b2a541e8fa2865ac6d45ba4e385e36",
"md5": "a2f8a4830f5c76c5a143123bf4804d00",
"sha256": "4fef07134b11a7cd8dd0c0a9e96fa60d66f834c8d19d9693401e87f62c0cb668"
},
"downloads": -1,
"filename": "SliceCommander-0.1.post6.tar.gz",
"has_sig": false,
"md5_digest": "a2f8a4830f5c76c5a143123bf4804d00",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10586,
"upload_time": "2023-09-15T19:21:45",
"upload_time_iso_8601": "2023-09-15T19:21:45.387897Z",
"url": "https://files.pythonhosted.org/packages/ad/ca/b35a44e240511678c29bea770d40c3b2a541e8fa2865ac6d45ba4e385e36/SliceCommander-0.1.post6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-15 19:21:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "fabric-testbed",
"github_project": "slice-commander",
"github_not_found": true,
"lcname": "slicecommander"
}