npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@thanhvo-cse/dev-env

v0.8.0

Published

Development environment management tool

Downloads

5

Readme

dev-env

dev-env tool

oclif Version Downloads/week License

Installation

dev-env

$ npm i -g @thanhvo-cse/dev-env

Usage

$ npm install -g @thanhvo-cse/dev-env
$ dev-env COMMAND
running command...
$ dev-env (-v|--version|version)
@thanhvo-cse/dev-env/0.8.0 darwin-x64 node-v12.14.0
$ dev-env --help [COMMAND]
USAGE
  $ dev-env COMMAND
...

Autocomplete

dev-env autocomplete [SHELL] with [SHELL] support bash & zsh

Add the autocomplete env var to your zsh profile and source it

  • zsh: printf "$(dev-env autocomplete:script zsh)" >> ~/.zshrc; source ~/.zshrc
  • bash: printf "$(dev-env autocomplete:script bash)" >> ~/.bashrc; source ~/.bashrc

Test it out, e.g.

  • zsh: dev-env <TAB> # Command completion dev-env command --<TAB> # Flag completion
  • bash dev-env <TAB><TAB> # Command completion dev-env command --<TAB><TAB> # Flag completion

Commands

dev-env artisan

Laravel Artisan

USAGE
  $ dev-env artisan

OPTIONS
  -d, --debug   debug flag
  -h, --help    show CLI help
  -l, --local   locally
  -s, --source  with source

See code: src/commands/artisan.ts

dev-env autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ dev-env autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ dev-env autocomplete
  $ dev-env autocomplete bash
  $ dev-env autocomplete zsh
  $ dev-env autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

dev-env cleanup

Cleanup docker environment

USAGE
  $ dev-env cleanup

OPTIONS
  -h, --help  show CLI help

See code: src/commands/cleanup.ts

dev-env composer

Composer

USAGE
  $ dev-env composer

OPTIONS
  -h, --help    show CLI help
  -l, --local   locally
  -s, --source  with source

See code: src/commands/composer.ts

dev-env configure:docker-source [PATH]

Set or show docker source directory

USAGE
  $ dev-env configure:docker-source [PATH]

ARGUMENTS
  PATH  Set the Docker source directory

OPTIONS
  -h, --help  show CLI help

See code: src/commands/configure/docker-source.ts

dev-env configure:gdrive [KEY]

Set or show gdrive folder key

USAGE
  $ dev-env configure:gdrive [KEY]

ARGUMENTS
  KEY  Set the Gdrive folder key

OPTIONS
  -h, --help  show CLI help

See code: src/commands/configure/gdrive.ts

dev-env configure:workspace [PATH]

Set or show workspace path

USAGE
  $ dev-env configure:workspace [PATH]

ARGUMENTS
  PATH  Set the workspace path

OPTIONS
  -h, --help  show CLI help

See code: src/commands/configure/workspace.ts

dev-env configure:xdebug-ide-key [KEY]

Set and show Xdebug IDE Key

USAGE
  $ dev-env configure:xdebug-ide-key [KEY]

ARGUMENTS
  KEY  Set the Xdebug IDE Key

OPTIONS
  -h, --help  show CLI help

See code: src/commands/configure/xdebug-ide-key.ts

dev-env create PROJECT TEMPLATE

Create project

USAGE
  $ dev-env create PROJECT TEMPLATE

ARGUMENTS
  PROJECT   project name
  TEMPLATE  project template

OPTIONS
  -g, --git=git  Git source path
  -h, --help     show CLI help
  -l, --local    locally

See code: src/commands/create.ts

dev-env down PROJECT

Down a project

USAGE
  $ dev-env down PROJECT

ARGUMENTS
  PROJECT  project name

OPTIONS
  -h, --help    show CLI help
  -l, --local   locally
  -s, --source  with source

See code: src/commands/down.ts

dev-env export PROJECT

Export project

USAGE
  $ dev-env export PROJECT

ARGUMENTS
  PROJECT  project name

OPTIONS
  -d, --database  database
  -h, --help      show CLI help

See code: src/commands/export.ts

dev-env grunt

Grunt

USAGE
  $ dev-env grunt

OPTIONS
  -h, --help    show CLI help
  -l, --local   locally
  -s, --source  with source

See code: src/commands/grunt.ts

dev-env help [COMMAND]

display help for dev-env

USAGE
  $ dev-env help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

dev-env import PROJECT

Import project

USAGE
  $ dev-env import PROJECT

ARGUMENTS
  PROJECT  project name

OPTIONS
  -h, --help  show CLI help

See code: src/commands/import.ts

dev-env logs

Logs

USAGE
  $ dev-env logs

OPTIONS
  -h, --help    show CLI help
  -l, --local   locally
  -s, --source  with source

See code: src/commands/logs.ts

dev-env ls

List imported projects

USAGE
  $ dev-env ls

OPTIONS
  -h, --help    show CLI help
  -l, --local   locally
  -s, --source  with source

See code: src/commands/ls.ts

dev-env magento

Magento

USAGE
  $ dev-env magento

OPTIONS
  -d, --debug   debug flag
  -h, --help    show CLI help
  -l, --local   locally
  -s, --source  with source

See code: src/commands/magento.ts

dev-env magerun

Magerun

USAGE
  $ dev-env magerun

OPTIONS
  -d, --debug   debug flag
  -h, --help    show CLI help
  -l, --local   locally
  -s, --source  with source

See code: src/commands/magerun.ts

dev-env mysql COMMAND [FILE]

Mysql

USAGE
  $ dev-env mysql COMMAND [FILE]

ARGUMENTS
  COMMAND  (backup|restore) mysql commands
  FILE     file path

OPTIONS
  -h, --help    show CLI help
  -l, --local   locally
  -s, --source  with source

See code: src/commands/mysql.ts

dev-env npm

Npm

USAGE
  $ dev-env npm

OPTIONS
  -h, --help    show CLI help
  -l, --local   locally
  -s, --source  with source

See code: src/commands/npm.ts

dev-env php

Php

USAGE
  $ dev-env php

OPTIONS
  -d, --debug   debug flag
  -h, --help    show CLI help
  -l, --local   locally
  -s, --source  with source

See code: src/commands/php.ts

dev-env rebuild

Rebuild a project

USAGE
  $ dev-env rebuild

OPTIONS
  -h, --help    show CLI help
  -l, --local   locally
  -s, --source  with source

See code: src/commands/rebuild.ts

dev-env remove PROJECT

Remove project

USAGE
  $ dev-env remove PROJECT

ARGUMENTS
  PROJECT  project name | all

OPTIONS
  -h, --help   show CLI help
  -l, --local  locally

See code: src/commands/remove.ts

dev-env restart

Refresh a project

USAGE
  $ dev-env restart

OPTIONS
  -h, --help    show CLI help
  -l, --local   locally
  -s, --source  with source

See code: src/commands/restart.ts

dev-env shell PROJECT

Run shell scripts

USAGE
  $ dev-env shell PROJECT

ARGUMENTS
  PROJECT  project name

OPTIONS
  -h, --help  show CLI help

See code: src/commands/shell.ts

dev-env up PROJECT

Up a project

USAGE
  $ dev-env up PROJECT

ARGUMENTS
  PROJECT  project name

OPTIONS
  -h, --help    show CLI help
  -l, --local   locally
  -o, --open    Open project local domain on default local browser
  -s, --source  with source

See code: src/commands/up.ts

dev-env yarn

Yarn

USAGE
  $ dev-env yarn

OPTIONS
  -h, --help    show CLI help
  -l, --local   locally
  -s, --source  with source

See code: src/commands/yarn.ts