malaeb-cli
v1.0.1
Published
A CLI tool to automate tasks
Readme
Malaeb CLI
Malaeb CLI is an interactive command-line tool designed to automate common development tasks, such as creating screens and components, and deploying apps to TestFlight and Firebase Testing.
Features
- 📂 Create Screens: Generate new screen folders and TypeScript files inside
src/Screens. - 🧩 Create Components: Generate reusable components inside
src/components. - 🚀 Deploy to TestFlight: Automate the deployment process for iOS apps.
- 🔥 Deploy to Firebase Testing: Quickly distribute Android builds to testers via Firebase.
Installation
Install via npm (Global Installation)
npm install -g malaeb-cliRun the CLI
malaeb-cliUsage
Once you run the CLI, you will be presented with an interactive menu to choose an action:
1️⃣ Create a Screen
- Prompts for a screen name.
- Creates a folder inside
src/Screens/. - Generates
ScreenName.tsx. - Updates
src/Screens/index.tsxto export the new screen.
2️⃣ Create a Component
- Prompts for a component name.
- Creates a folder inside
src/components/. - Generates
ComponentName.tsx. - Updates
src/components/index.tsxto export the new component.
3️⃣ Deploy to TestFlight
- Runs
fastlane ios betato deploy the iOS app.
4️⃣ Deploy to Firebase Testing
- Runs
firebase appdistribution:distributeto distribute the Android app.
Contributing
Feel free to open issues or submit pull requests to improve this CLI.
License
This project is licensed under the ISC License.
