essam_cli 1.0.4
essam_cli: ^1.0.4 copied to clipboard
Dart CLI that scaffolds Clean Architecture features for Flutter — generates layers, use cases, DI, and barrel files automatically.
1.0.4 #
- Fix UseCase injection paths: Updated
add_usecasegenerators to correctly search inrepositoriesanddata_sourcesdirectories instead of singular folder names. - Fix Cubit Generator Regex: Fixed regex pattern to correctly identify and inject into
BaseCubitclasses instead of only standardCubit. - Fix Trailing Comma Syntax Error: Prevented invalid Dart syntax and
dart formatfailures by correctly handling trailing commas when injecting use cases into Cubit constructors. - Match Feature Scaffolding Boilerplate:
Requestmodels now default toidonly.- Action methods now use
PageState(PageState.loading,PageState.success,PageState.errorWithSnackBar) matchingcreate_featurestandards.
- Auto-Fix Support:
add_usecasecommand now automatically runsdart fix --applyafter generating and formatting files.
1.0.3 #
- Package renamed from
twafok_clitoessam_cli - New executable: the CLI command is now
essam(previouslytwafok) - Update all internal help text and usage examples to use the
essamexecutable - Improve
pubspec.yamldescription for better pub.dev discoverability - Add
gen-barrelalias to thegenerate_pathshelp output - Add
.pubignoreto exclude the legacybin/twafok_cli.dartfile from the published package
1.0.2 #
- Refactor
GeneratePathsCommandwith a cleaner, more robust implementation - Barrel file now automatically exports
package:twafok_shared/twafok_shared.dartas the shared core dependency - Package name is now auto-detected from
pubspec.yaml(walks up parent directories) instead of relying on the--packageflag - Add
gen-barrelas an additional alias for thegenerate_pathscommand - Fix inconsistent executable name in help output
- Remove stale commented-out code from
GeneratePathsCommand
1.0.1+1 #
- Replace
Either<Failure, T>withResult<T>in repository, use case, and data source templates - Simplify
DataSourceimplementation by utilizingDioHelper.getDatawith the newfromJsonparameter - Refine regex patterns and formatting in
CubitGeneratorandDataSourceGenerator - Update device streaming configuration with Galaxy A32 options
1.0.1 #
- Add DioConfig for flexible API configuration
- Add TwafokConfig for centralized app settings
- Add CacheHelper integration
- Improve theme management
- Add API shortcuts (get, post, put, patch, delete)
1.0.0 #
- Initial release
- Basic widgets and utilities
- Theme support