moose_cli 0.10.0
moose_cli: ^0.10.0 copied to clipboard
Moose CLI is a lightweight utility that reports the currently installed CLI version.
Unreleased #
0.10.0 #
- Added locale support with
local addmethod
0.9.0 #
- Added
--configurations(-c) option toinit,plugin add, andadapter addfor programmatic, non-interactive scaffolding. Values are supplied as dotted-path key=value pairs (e.g.plugins.home.apiKey=abc) and are written directly intoassets/config/environment.json, replacing any matching$REPLACE_THIS$placeholders without prompting. Unknown key paths are created automatically. plugin addandadapter addnow abort with a warning if the module is already installed (i.e. the destination directory already exists), instead of silently overwriting it.
0.8.0 #
adapter addandplugin addnow mergedependenciesfrommoose.manifest.jsonintopubspec.yamland rundart pub get, matching the behaviour ofinit.adapter addandplugin addnow writeconfigurationsfrommoose.manifest.jsonintoassets/config/environment.jsonand prompt for any$REPLACE_THIS$placeholders.- Placeholder prompts now show only the custom question (
$REPLACE_THIS|Your question$) instead of prefixing it with the field key. - The
--manifestfile now uses"configurations"(instead of"config") for per-module configuration blocks. - Extracted pubspec dependency merging and
dart pub getinto a sharedPubspecUpdaterservice used by bothinitandaddcommands.
0.7.0 #
- Fixed README: moved the orphaned
moose helprow into the commands table and removed the duplicate trailing line. initnow scaffolds an empty Flutter project viaflutter createwhen--manifestis omitted.- Added
--template(-t) option toinit: resolves a named template (e.g.shopify) to its manifest URL atgreymooseinc/moose_templates. Passing both--manifestand--templateis an error.
0.5.0 #
- Fixed Flutter (and git/dart) detection failing on Windows by passing
runInShell: truetoProcess.run, allowing resolution of.bat/.cmdwrappers on PATH.
0.4.0 #
initnow copiesai/,doc/, andREADME.mdfrom themoose_coredependency (resolved via.dart_tool/package_config.json) into the new project.initdynamically renames thenameproperty in the generatedpubspec.yamlto match the project name provided by the user.
0.3.0 #
- Rebuilt
initto require a manifest (--manifest path/to/manifest.json) that defines the base repository plus optional plugins/adapters, clone those repositories via git, and strip their.gitmetadata after copying. initnow injects plugin/adapter imports and registry calls intolib/main.dartbased on the manifest contents.- After copying the template and extensions,
initrunsdart pub getinside the new project. - Each plugin may now include its own
moose.manifest.jsondescribing import files and dependencies; these dependencies are automatically merged into the generated project'spubspec.yaml. - Added
plugin addandadapter addcommands to extend an existing project post-init. - Added support for remote manifests (fetched via URL).
- Added default repository fallback when no
--manifestis provided. - Added Flutter installation check before project creation.
0.2.0 #
- Added
initcommand that proxiesflutter init. - Embedded CLI metadata and AI artifacts.
- Documented AI tooling resources.
- Renamed the global executable from
moose_clitomoose. - Added Flutter resolution helper that honors
MOOSE_FLUTTER_BIN/FLUTTER_ROOT. - Automatically inject
moose_coredependency into newly created Flutter apps. - Removed the
moose_coredependency to keep the CLI self-contained.