0.0.0 • Published 5 years ago
alfred-cli v0.0.0
What is Alfred?
- A project migrator
- A configuration/boilerplate manager
- Allows for extensibility
Installation
# Yarn
yarn add --global alfred
# NPM
npm install --global alfred
Usage
# Add boilerplate files
alfred bootstrap
alfred bootstrap --include editorconfig .gitignore babel flow
# Code migration
alfred migrate .
alfred migrate . --transforms imports lebab
# Migrate interactive
alfred migrate-interactive .
Roadmap (ordered by priority)
LebabProvider
EslintProvider
PrettierProvider
DecaffinateProvider
Spec
- Check for
version
inpackage.json
"alfred"
config, update files as necessary - Allow for project specific configurations
- Revert files if necessary. Create backups of every file created. Create global backup directory.
- Bootstrap applications by adding boilerplate, allow user to select which files should be added
- Determine standards for each project. Ex. what is the name of the build directory?
Example configuration
In package.json
{
"alfred": {
"version": "0.0.1"
}
}
Inspiration
- Swift Migrator