Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sangupta/husk
Command-line shell framework
https://github.com/sangupta/husk
Last synced: 4 days ago
JSON representation
Command-line shell framework
- Host: GitHub
- URL: https://github.com/sangupta/husk
- Owner: sangupta
- License: other
- Created: 2013-02-28T18:42:01.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-12-08T18:18:24.000Z (almost 4 years ago)
- Last Synced: 2024-04-16T11:17:28.898Z (7 months ago)
- Language: Java
- Homepage: http://sangupta.com/projects/husk
- Size: 44.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
husk
====Java-based implementations of a bare-bone shell that uses **consoles** to run in multiple
modes.Aim
---
* A bare-bone shell that provides basic infrastructure to build powerful command-line tools**This library is in very nascent stage and should NOT be used.**
Usage
-----
Using **husk** is as easy as,```java
public static void main(String[] args) {
HuskShell huskShell = new HuskShell();
huskShell.initialize();
huskShell.loadExternalCommands("com.example.mytool.commands");
huskShell.start();// we are done running the husk shell
// shut the shell down
huskShell.stop();
}
```where **com.example.mytool.commands** is the base package root where all your commands are stored. Implementing
a command will need the class to implement the **HuskShellCommand** interface.Easy, yeah!
Versioning
----------For transparency and insight into our release cycle, and for striving to maintain backward compatibility,
`husk` will be maintained under the Semantic Versioning guidelines as much as possible.Releases will be numbered with the follow format:
`..`
And constructed with the following guidelines:
* Breaking backward compatibility bumps the major
* New additions without breaking backward compatibility bumps the minor
* Bug fixes and misc changes bump the patchFor more information on SemVer, please visit http://semver.org/.
License
-------
Copyright (c) 2013, Sandeep GuptaThe project uses various other libraries that are subject to their
own license terms. See the distribution libraries or the project
documentation for more details.The entire source is licensed under the Apache License, Version 2.0
(the "License"); you may not use this work except in compliance with
the LICENSE. You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.