coda-mota v1.2.56
Coda
The initial goal for Coda was to find an easy way to copy only certain files from a repo on Github into a folder on my local machine. I decided I would create a node app that would automate the steps I would naturally take to achieve the same output over simply creating an alias for my terminal because I valued the portability, the simple setup, and the extendibility it has because it's written in JS versus terminal commands.
Need to work on User Stories
- Create a standardized process in code for running terminal commands so that I can easily insert business logic in between them.
- Check to see if a package.json file exist, if so, install packages; but if not, add a bare-bones one so I can instantly run
npm i. after adding the boiler plate code - Add options to the
newcommand for the different style of projects (web, api, terminal script, etc) so it can better customize the thesrcfolder and thegulptasks that are added to a project.
Prerequisites
do not run on windows.
- npm
- node
- git?
Installation
First run,
npm i coda-mota -gthen to test the package is installed,
coda checkRunning the Tests
Will document as soon as there are some.
How to Use / Examples
Coda is a command line app.
coda [command] [--options]Commands
new
Adds boiler plate code, installs packages, inside whatever folder you run the following command:
coda new [--options]This currently defaults to web/node projects.
Available options:
None currently
What it includes:
- TypeScript ready
- Linting for Vanilla and TypeScript written JS
- Jest ready
- Gulp ready
- Setting file for VS Code (e.g. sets the default indentation at 2 spaces)
Sources: