Giter Club home page Giter Club logo

dk-cli's Introduction

Project base CLI

For now this works only for MAC OS. This project is ment to use in project directory, if not used, will fail terribly, horribly and unexpectabablablabl ... *so bad, I can't even spell it!

NOTE: Script may require sudo, e.g to read local files or make new files.
NOTE: Don't run the script with sudo unless you sure.

Install/Update:

Installation inquirer-press-to-continue may require force.

$ npm install -g pbdk-cli

Uninstall:

$ npm uninstall -g pbdk-cli

Usage

$ pbdk-cli # To run CLI menu

$ pbdk-cli -h # To help
$ pbdk-cli -v # To show version

Development:

Clone repo, look into packade.json

NPMJS publish

Remember to update version in the packade.json and run npm publish

dk-cli's People

Contributors

isuke01 avatar

Watchers

 avatar

dk-cli's Issues

Ideas for 0.0.5

  • NPM install command make to read packade.json and use correct node version (NVM), check fog NVM if available, check if this node version is installed or require install.
  • Check WP CLI if set up and works
  • Import and auto replace DB stuff (Auto read new url as placeholder, maybe auto read old one from db as placeholder too)

Issues to fix for the next major update

  1. The composer command is trying to look for /public in working directory - this is left over from tests
  2. When copy/create wp-cli.local.php the file contains white space at the very top.
  3. Check the create wp-cli.yml if it have the same problem as above.
  4. When added line into wp-cli.yml - make sure it does not add white space, and if there is white line remove it.
  5. Fix NPM install output
  6. When setting up Env it check the ENV existing only first time, which lead to issue if env was created later.
  7. When setting un ENV the defaults are incorrect.
  8. After Finish the task, add Wait for user to continue, like choose to menu or exit CLI. Now it can confuse, since it automatically go to menu.
  9. While setting up WP_HOME add Protocol, maybe set this from LOCAL site settings if available.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.