https://github.com/s-a/sys-hub
A starting point or base for some activity
https://github.com/s-a/sys-hub
Last synced: 3 months ago
JSON representation
A starting point or base for some activity
- Host: GitHub
- URL: https://github.com/s-a/sys-hub
- Owner: s-a
- License: other
- Created: 2016-03-23T18:58:58.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-29T11:02:30.000Z (about 9 years ago)
- Last Synced: 2025-07-21T08:29:00.821Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# sys-hub
[](https://www.npmjs.org/package/sys-hub)
[](https://travis-ci.org/s-a/sys-hub)
[](https://www.codacy.com/app/stephanahlf/sys-hub)
[](https://david-dm.org/s-a/sys-hub)
[](https://david-dm.org/s-a/sys-hub#info=devDependencies)
[](https://www.npmjs.org/package/sys-hub)
[](/LICENSE.md#mit)
[](http://s-a.github.io/donate/)
```bash
$ npm i -g sys-hub;
```
a command line app to share commands with co-workers across the network.
## [Local configuration example](example.config.json)
### argumentDatasource
For JSON selector syntax see http://jsonselect.org/. The ```filename``` attribute supports XML and JSON datasources.
## [Global configuration example](/example.global-config.json)
## Supported commands
- "open" (path or url to document)
- "open-latest-file" (path to file folder)
- "tail-latest-file" (path to file folder)
- "type-latest-file" (path to file folder)
- "shell" (custom shell command)
## Supported types
- "folder" (adds a bundle of commands for given folder)
- "file" (adds a bundle of commands for given file)
## local config
This defines a default program to open a folder or file in a custom filemanager
```javascript
"shell": {
"openFolderCommand": "c:\\totalcmd\\TOTALCMD.EXE /O /T /R=\"@dir@\""
},
```