Version 1.0.1
Henchman CLI is an all-in-one, interactive command-line tool designed to simplify the creation, setup, and management of development projects. Whether youβre working on Flutter, Node.js, or managing Git repositories, Henchman streamlines repetitive tasks, letting you focus on what matters mostβwriting great code.
Henchman features an intuitive, arrow-selectable menu that makes navigation and task selection effortlessβno more remembering lengthy commands.
- Node Projects:
- Empty: Create empty node project
- Server: Create express server with dependencies
- CLI: Create node CLI with dependencies
- Flutter Apps:
- Mobile: Create Flutter Android/iOS project with structure and dependencies
- Web: Create Flutter Web project with structure and dependencies
- Desktop: Create Flutter Windows/macOS/Linux project with structure and dependencies
- Packages: Create Flutter package with structure.
- Automatically sets up directories and boilerplate code for Flutter and Node projects.
- Installs required dependencies with a single command.
- Initialize Git repositories with preconfigured
.gitignore
files andREADME.md
templates. - Language specific
.gitignore
included for streamlined setup.
Retrieve SHA keys for Android development:
- Debug SHA Key
- Release SHA Key
- Start Android Emulators.
- Launch iOS Simulators.
Effortlessly clean up unused build files:
- Node.js
node_modules
- Flutter build files
- Python virtual environments files
Ensure you have the following tools installed and added to your PATH:
- Node.js and npm
- Flutter SDK
- Git
- Python
- Keytool (for retrieving SHA keys)
Additionally, add these to your shell initialization script (e.g., .bashrc
, .zshrc
, PATH
):
# Homebrew (Mac users)
eval "$($(brew --prefix)/bin/brew shellenv)"
# Android Emulator
export ANDROID_SDK="<path-to-android-sdk>/emulator"
# Java
export JAVA_HOME="<path-to-java-home>"
# Flutter
export FLUTTER="<path-to-flutter-sdk>/bin"
Henchman is distributed as an npm package:
npm install -g henchman-cli
Simply run:
henchman
Follow the interactive prompts to select your desired task.
- Create a Node Project
- Create a Flutter Application
- Setup Flutter Project Structure
- Setup Node Project Structure
- Initialize Git Repository
- Configure
.gitignore
andREADME.md
- Get Android Debug SHA Key
- Get Android Release SHA Key
- Start Android Emulator
- Start iOS Simulator
- Clean Node.js projects
- Clean Flutter projects
- Clean Python projects
Henchman automatically generates well-organized project structures for both Node and Flutter. For example:
project-name/
βββ controllers
βββ core
β βββ constants
β βββ models
β βββ utils
βββ docs
βββ pages
β βββ css
β βββ views
βββ routes
project-name/
βββ android
βββ ios
βββ linux
βββ macos
βββ web
βββ windows
βββ assets
β βββ anim
β βββ fonts
β βββ images
βββ docs
βββ lib
βββ core
β βββ constants
β βββ error
β βββ models
β βββ utilities
βββ pages
βββ providers
βββ screens
βββ widgets
henchman [options] [command]
-V, --version
Output the version number-h, --help
Display help for a command
Configure π§ Henchman.
Create a new project for a selected language.
- [config] options:
flutter
,node
,git
Cleanup projects for a selected language in input subfolders.
- [config] options:
flutter
,node
,python
Setup folder structure for a selected language.
- [config] options:
flutter
,node
,git
Start a process.
- [config] options:
sim
(android
,ios
)
Get some information.
- [config] options:
sha
(debug
,release
)
Display help for a command.
We welcome contributions from the community! To contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Submit a pull request with a detailed description of changes.
Please adhere to our Code of Conduct when interacting with the project.
If you discover any security vulnerabilities, please report them via [email protected]. We take security issues seriously and appreciate your efforts to responsibly disclose them. Read more at SECURITY
This project is governed by a Code of Conduct. By participating, you agree to uphold a welcoming and inclusive environment.
Henchman CLI is licensed under the MIT License.
Thank you for using Henchman! π Happy coding!