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

@codegenie/cli

v1.8.0

Published

Code Genie CLI

Downloads

4,094

Readme

Code Genie CLI

npx @codegenie/cli generate --description "An app that lets users upload photos, location, time, species and other information so that Wildlife Rescuers can get notified and respond to reports of injured wildlife in their area."

Usage

$ npm install -g @codegenie/cli
$ @codegenie/cli COMMAND
running command...
$ @codegenie/cli (--version)
@codegenie/cli/1.8.0 darwin-arm64 node-v20.12.2
$ @codegenie/cli --help [COMMAND]
USAGE
  $ @codegenie/cli COMMAND
...

Commands

@codegenie/cli autocomplete [SHELL]

Display autocomplete installation instructions.

USAGE
  $ @codegenie/cli autocomplete [SHELL] [-r]

ARGUMENTS
  SHELL  (zsh|bash|powershell) Shell type

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

DESCRIPTION
  Display autocomplete installation instructions.

EXAMPLES
  $ @codegenie/cli autocomplete

  $ @codegenie/cli autocomplete bash

  $ @codegenie/cli autocomplete zsh

  $ @codegenie/cli autocomplete powershell

  $ @codegenie/cli autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

@codegenie/cli generate

Generate an application

USAGE
  $ @codegenie/cli generate [--json] [-n <value>] [-d <value>] [--deploy] [-p <value>] [-r]
    [--AppDefinitionOnly] [--idp <value>]

FLAGS
  -d, --description=<value>        Describe your application in plain English and Code Genie will do its best to create
                                   an App Definition and data model for you.
  -n, --name=<value>               Name of the app you're generating.
  -p, --awsProfileToCopy=<value>   [default: default] The AWS Profile to copy in the ~/.aws/credentials file and used to
                                   deploy the application. Defaults to the 'default' profile. Specify --noCopyAwsProfile
                                   to skip this step
  -r, --replaceAppDefinition       Replaces the current .codegenie directory.
      --deploy                     Deploys the generated application to AWS using the --awsProfileToCopy creds. Creates
                                   new profiles in ~/.aws/credentials based on your app name and stages by copying the
                                   --awsProfileToCopy creds.
      --generateAppDefinitionOnly  Generates app definition only (run `@codegenie/cli generate` without `--description`
                                   to generate source code).
      --idp=<value>...             Supported identity providers. Valid values include "Google" and "SAML". Can be
                                   specified multiple times to enable multiple IDPs.

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Generate an application

  Generate an application based on a description or a App Definition defined in .codegenie

ALIASES
  $ @codegenie/cli generate

EXAMPLES
  $ @codegenie/cli generate --description "A to-do list application called getitdone" --deploy
  generating app...
  $ @codegenie/cli generate --description "A banking app" --deploy
  generating app...

See code: src/commands/generate.ts

@codegenie/cli help [COMMANDS]

Display help for @codegenie/cli.

USAGE
  $ @codegenie/cli help [COMMANDS...] [-n]

ARGUMENTS
  COMMANDS...  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for @codegenie/cli.

See code: @oclif/plugin-help

@codegenie/cli login

Login

USAGE
  $ @codegenie/cli login

DESCRIPTION
  Login

EXAMPLES
  $ @codegenie/cli login

See code: src/commands/login.ts

@codegenie/cli update [CHANNEL]

update the @codegenie/cli CLI

USAGE
  $ @codegenie/cli update [CHANNEL] [-a] [--force] [-i | -v <value>]

FLAGS
  -a, --available        See available versions.
  -i, --interactive      Interactively select version to install. This is ignored if a channel is provided.
  -v, --version=<value>  Install a specific version.
      --force            Force a re-download of the requested version.

DESCRIPTION
  update the @codegenie/cli CLI

EXAMPLES
  Update to the stable channel:

    $ @codegenie/cli update stable

  Update to a specific version:

    $ @codegenie/cli update --version 1.0.0

  Interactively select version:

    $ @codegenie/cli update --interactive

  See available versions:

    $ @codegenie/cli update --available

See code: @oclif/plugin-update

Release

npm run build
npm version (major|minor|patch) # bumps version, updates README, adds git tag
npm publish --access=public

See Oclif Release Docs for more details.

Development

DOTENV_ENV=local ~/projects/codegenie-cli/bin/dev.js generate