Skip to content

Codeleafly/ABT-CLI

Repository files navigation

ABT-CLI (BETA v1.2.0) 🚀

A professional, modular CLI tool to generate and build full native Android projects with deep structure and advanced configurations.

🌟 Core Features

  • Deep Official Structure: Generates the exact directory hierarchy used by Android Studio.
  • Future-Ready SDKs: Support for Android 12 (API 31) through Android 16+ (API 36/Experimental).
  • Smart Permissions:
    • Categorized Presets: Easy selection for Camera, Location, Bluetooth, etc.
    • Custom Input: Support for manual entry of custom or experimental permissions.
  • Robust Validation: Prevents invalid package names (Java keywords) and syncs JVM targets automatically.
  • Native & Libs: Pre-configured app/libs and app/src/main/cpp for external libraries and NDK.

🚀 Usage

1. Interactive Mode (Default)

Recommended for most users. Provides a guided setup with arrow-key navigation.

abt generate

2. Headless Mode (CLI Flags)

Perfect for automation, CI/CD, or quick scripting. Skips all prompts and builds immediately.

# General Syntax
abt generate -n <App_Name> -p <Package_Name> -s <SDK_Version> -l <Language>

# Example: Generate a Kotlin project for Android 14
abt generate -n "MyFastApp" -p "com.example.fast" -s 34 -l "kotlin"

Available Flags:

  • -n, --name: The name of your application.
  • -p, --package: The unique package ID (e.g., com.abt.app).
  • -s, --sdk: Target SDK version (31 to 36).
  • -l, --language: Programming language (java or kotlin).

3. Build Only

Trigger a manual build for an existing project generated by ABT-CLI.

abt build

📁 Generated Structure

  • app/src/main/: Core production code.
  • app/libs/: Place your .jar or .aar files here.
  • app/src/main/cpp/: Place your C++ files here for NDK.
  • gradle/wrapper/: Pre-configured environment.

📁 Project Structure & Branches

  • main: The stable source for stable releases.
  • Beta: Testing ground for upcoming features.
  • Dev: Daily development and bug fixes.
  • On_Dev: Experimental features (Current Focus).

🛠 Tech Stack

  • Node.js + TypeScript (ESM)
  • Gradle 9.x + AGP 8.7.2 + Kotlin 2.0.21
  • AndroidX & Material Design 3 Components

Note: This tool is currently in BETA. Build artifacts (APK/AAB) are located in app/build/outputs/.

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors