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

@promptly/cli

v1.0.0-beta.3

Published

[![Build](https://img.shields.io/circleci/token/1effe505a8378d0fe9755c30db6d9fc3aa036f4a/project/github/promptworks/promptly/dev.svg)](https://circleci.com/gh/promptworks/promptly) [![Version](https://img.shields.io/npm/v/promptly.svg)](https://npmjs.org/

Downloads

2

Readme

promptly

Build Version Downloads/week License

Usage

$ npm install -g @promptly/cli
$ promptly COMMAND
running command...
$ promptly (-v|--version|version)
@promptly/cli/1.0.0-beta.2 darwin-x64 node-v10.15.0
$ promptly --help [COMMAND]
USAGE
  $ promptly COMMAND
...

Commands

promptly configmaps [NAME]

list configmaps

USAGE
  $ promptly configmaps [NAME]

OPTIONS
  -h, --help                      show CLI help
  -n, --namespace=namespace       the kubernetes namespace to use
  -o, --output=pretty|shell|json  (required) [default: pretty] output format
  --context=context               the kubernetes context to use
  --kubeconfig=kubeconfig         path to a kubeconfig file

See code: lib/commands/configmaps/index.js

promptly configmap:set NAME KEY=VALUE...

set a configmap value

USAGE
  $ promptly configmap:set NAME KEY=VALUE...

OPTIONS
  -h, --help                      show CLI help
  -n, --namespace=namespace       the kubernetes namespace to use
  -o, --output=pretty|shell|json  (required) [default: pretty] output format
  --context=context               the kubernetes context to use
  --kubeconfig=kubeconfig         path to a kubeconfig file

EXAMPLES
  $ promptly configmap:set web RAILS_ENV=production

See code: lib/commands/configmaps/set.js

promptly configmaps:set NAME KEY...

remove a configmap value

USAGE
  $ promptly configmaps:set NAME KEY...

OPTIONS
  -h, --help                      show CLI help
  -n, --namespace=namespace       the kubernetes namespace to use
  -o, --output=pretty|shell|json  (required) [default: pretty] output format
  --context=context               the kubernetes context to use
  --kubeconfig=kubeconfig         path to a kubeconfig file

EXAMPLES
  $ promptly configmaps:unset web RAILS_ENV

See code: lib/commands/configmaps/unset.js

promptly context

switch kubernetes contexts

USAGE
  $ promptly context

OPTIONS
  -h, --help               show CLI help
  --force
  --kubeconfig=kubeconfig  path to a kubeconfig file

See code: lib/commands/context.js

promptly deploy

deploy your app

USAGE
  $ promptly deploy

OPTIONS
  -f, --file=file            path to a deployment plan
  -h, --help                 show CLI help
  -n, --namespace=namespace  the kubernetes namespace to use
  -s, --stage=stage          the function in your plan to run
  --context=context          the kubernetes context to use
  --kubeconfig=kubeconfig    path to a kubeconfig file
  --minikube                 optimize for minikube development
  --watch                    redeploy when files change

See code: lib/commands/deploy.js

promptly help [COMMAND]

display help for promptly

USAGE
  $ promptly help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

promptly init

create a new project

USAGE
  $ promptly init

OPTIONS
  -h, --help  show CLI help
  --force

See code: lib/commands/init.js

promptly logs

show logs

USAGE
  $ promptly logs

OPTIONS
  -h, --help                      show CLI help
  -n, --namespace=namespace       the kubernetes namespace to use
  -o, --output=pretty|basic|json  (required) [default: pretty] output format
  --containers=containers         [default: .*] A regular expression of container names
  --context=context               the kubernetes context to use
  --kubeconfig=kubeconfig         path to a kubeconfig file
  --pods=pods                     [default: .*] A regular expression of pod names

See code: lib/commands/logs.js

promptly pods

show running pods

USAGE
  $ promptly pods

OPTIONS
  -h, --help  show CLI help

See code: lib/commands/pods.js

promptly secrets:get NAME KEY...

restart deployments

USAGE
  $ promptly secrets:get NAME KEY...

OPTIONS
  -h, --help                 show CLI help
  -n, --namespace=namespace  the kubernetes namespace to use
  --context=context          the kubernetes context to use
  --kubeconfig=kubeconfig    path to a kubeconfig file

See code: lib/commands/restart.js

promptly secrets [NAME]

list secrets

USAGE
  $ promptly secrets [NAME]

OPTIONS
  -h, --help                      show CLI help
  -n, --namespace=namespace       the kubernetes namespace to use
  -o, --output=pretty|shell|json  (required) [default: pretty] output format
  --context=context               the kubernetes context to use
  --kubeconfig=kubeconfig         path to a kubeconfig file

See code: lib/commands/secrets/index.js

promptly secret:set NAME KEY=VALUE...

set a secret value

USAGE
  $ promptly secret:set NAME KEY=VALUE...

OPTIONS
  -h, --help                      show CLI help
  -n, --namespace=namespace       the kubernetes namespace to use
  -o, --output=pretty|shell|json  (required) [default: pretty] output format
  --context=context               the kubernetes context to use
  --kubeconfig=kubeconfig         path to a kubeconfig file

EXAMPLES
  $ promptly secret:set web RAILS_ENV=production

See code: lib/commands/secrets/set.js

promptly secrets:set NAME KEY...

remove a secret value

USAGE
  $ promptly secrets:set NAME KEY...

OPTIONS
  -h, --help                      show CLI help
  -n, --namespace=namespace       the kubernetes namespace to use
  -o, --output=pretty|shell|json  (required) [default: pretty] output format
  --context=context               the kubernetes context to use
  --kubeconfig=kubeconfig         path to a kubeconfig file

EXAMPLES
  $ promptly secrets:unset web RAILS_ENV

See code: lib/commands/secrets/unset.js

promptly shell [POD]

connect to a running container

USAGE
  $ promptly shell [POD]

OPTIONS
  -c, --container=container  container name
  -h, --help                 show CLI help
  -n, --namespace=namespace  the kubernetes namespace to use
  --context=context          the kubernetes context to use
  --kubeconfig=kubeconfig    path to a kubeconfig file

See code: lib/commands/shell.js

promptly show

show objects

USAGE
  $ promptly show

OPTIONS
  -f, --file=file            path to a deployment plan
  -h, --help                 show CLI help
  -n, --namespace=namespace  the kubernetes namespace to use
  -s, --stage=stage          the function in your plan to run
  --context=context          the kubernetes context to use
  --kubeconfig=kubeconfig    path to a kubeconfig file

See code: lib/commands/show.js