alfred-cli

0.0.0 • Public • Published

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

Roadmap (ordered by priority)

  • LebabProvider
  • EslintProvider
  • PrettierProvider
  • DecaffinateProvider

Spec

  • Check for version in package.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

Readme

Keywords

none

Package Sidebar

Install

npm i alfred-cli

Weekly Downloads

15

Version

0.0.0

License

MIT

Last publish

Collaborators

  • amilajack
  • vikr01