ag_cli
Flutter GetX code generator CLI. Scaffolds modules, components, models, repos, controllers, bindings, and pages.
2.3.2
kripadevg-code/ag-cli
What this package is like to depend on
Last release 1 months ago
10 Jul 2026
Too new to tell
only 1 release windows
Nearly every release is documented
notes for 4 of 4 stable releases
Nothing withdrawn
no release was ever pulled
1 months old
4 releases · first in 2026
4 releases in the last 12 months
see the full history below
Release timeline
4 releases · Jul 2026 to Jul 2026Releases
latest 4-
2.3.210 Jul 2026Release notes
Open source →- Fix: Fixed broken image links in
README.mdand restored pub.dev formatting.
- Fix: Fixed broken image links in
-
2.3.110 Jul 2026Release notes
Open source →- Docs: Added a high-quality GIF demo to the
README.md. - Docs: Added a custom neon logo to the
README.md.
- Docs: Added a high-quality GIF demo to the
-
2.3.010 Jul 2026Release notes
Open source →- Feature:
ag initnow automatically scaffolds a best-practiceAuthGuard(GetMiddleware) insidelib/core/guards/auth_guard.dart. It intelligently checks for a session token using the globally injectedSharedPreferencesfromInitialBinding, and redirects toAppRoutes.loginif unauthenticated. - Improvement: Added
AppRoutes.loginstub out-of-the-box so theAuthGuardhas a valid redirection target. - Improvement:
ag doctornow verifies that thecore/guards/auth_guard.dartexists and is properly formed.
- Feature:
-
2.0.010 Jul 2026Release notes
Open source →- Breaking: Restructured as a full
CommandRunner-based CLI (same architecture as the Dart SDK CLI). - Feature: Angular CLI-style
generatecommand withgshortcut. - Feature: 7 sub-generators —
module,component,model,repo,controller,binding,page. - Feature: Short aliases —
m,c,r,ctrl,b,p. - Feature:
ag init— scaffolds the full GetX project structure with all standard files. - Feature:
ag list/ag ls— shows all available generators with shortcuts. - Feature: Interactive arrow-key prompts powered by
mason_loggerwhen arguments are omitted. - Feature:
--version/-vflag. - Feature:
--dry-run/-d— preview files without writing them. - Feature:
--force— overwrite existing files. - Feature:
--moduleflag for individual generators to target a specific module. - Feature: Auto-detection of package name from
pubspec.yamland module name from CWD. - Feature: Overwrite protection — existing files are skipped by default with a warning.
- Feature: Model generator creates both
_model.dartand_response_model.dart. - Feature: Color-coded terminal output — ✔ green, ⚠ yellow, ✖ red, ℹ cyan.
- Breaking: Restructured as a full