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

@ai-citizens/ava

v0.0.15

Published

<!-- [![Version](https://img.shields.io/npm/v/oclif.svg)](https://npmjs.org/package/oclif) [![Downloads/week](https://img.shields.io/npm/dw/oclif.svg)](https://npmjs.org/package/oclif/oclif) [![License](https://img.shields.io/npm/l/oclif.svg)](https://git

Downloads

50

Readme

oclif CLI

🗒 Description

This is the oclif CLI for the Open CLI Framework, that supports the development of oclif plugins and CLIs.

🚀 Getting Started Tutorial

Install the CLI globally:

npm i -g @ai-citizens/ava

Run ava --help to see what commands are available.

📌 Requirements

Currently, Node 18+ is supported. We support the LTS versions of Node. You can add the node package to your CLI to ensure users are running a specific version of Node.

Breaking Changes

  • oclif multi, oclif plugin, and oclif single have all been removed in favor of oclif generate, which generates an oclif based CLI using the hello-world example repo.
    • The reason is that there's not enough of a meaningful difference between a "multi command cli", a "single command cli", and a "plugin" to justify the maintenance cost. The generated CLI can be easily used for any of those use cases.
  • oclif hook is now oclif generate:hook
  • oclif command is now oclif generate:command

New Commands

Version 2 now includes all the commands from the oclif-dev CLI. This means that you can now use a single CLI for all your oclif needs. These commands include:

  • oclif manifest
  • oclif pack
  • oclif pack:deb
  • oclif pack:macos
  • oclif pack:win
  • oclif upload (formerly known as oclif-dev publish)
  • oclif upload:deb (formerly known as oclif-dev publish:deb)
  • oclif upload:macos (formerly known as oclif-dev publish:macos)
  • oclif upload:win (formerly known as oclif-dev publish:win)
  • oclif readme

🏗 Usage

Creating a CLI:

$ npx oclif generate mynewcli
? npm package name (mynewcli): mynewcli
$ cd mynewcli
$ ./bin/run.js --version
mynewcli/0.0.0 darwin-x64 node-v9.5.0
$ ./bin/run.js --help
USAGE
  $ mynewcli [COMMAND]

COMMANDS
  hello
  help   display help for mynewcli

$ ./bin/run.js hello world
hello world! (./src/commands/hello/world.ts)

📚 Examples

🔨 Commands

ava chat

Interactive chat with the AI assistant

USAGE
  $ ava chat [-m <value>] [-s]

FLAGS
  -m, --model=<value>  The model to use
  -s, --modelSelect    Select a model

DESCRIPTION
  Interactive chat with the AI assistant

ava cla

Interactive AI agent to generate and execute commands based on natural language input

USAGE
  $ ava cla [-m <value>] [-s]

FLAGS
  -m, --model=<value>  The model to use
  -s, --modelSelect    Select a model

DESCRIPTION
  Interactive AI agent to generate and execute commands based on natural language input

ava init [CONFIGPATH]

Initialize Ava configuration

USAGE
  $ ava init [CONFIGPATH] [-f]

ARGUMENTS
  CONFIGPATH  Optional path for the config file

FLAGS
  -f, --force  Overwrite existing config file

DESCRIPTION
  Initialize Ava configuration

EXAMPLES
  $ ava init

  $ ava init /custom/path

ava search QUERY

AI powered search

USAGE
  $ ava search QUERY

ARGUMENTS
  QUERY  Query to search the graph

DESCRIPTION
  AI powered search

ava test graph [TYPE]

describe the command here

USAGE
  $ ava test graph [TYPE] [-f]

ARGUMENTS
  TYPE  type of graph to run

FLAGS
  -f, --force

DESCRIPTION
  describe the command here

EXAMPLES
  $ ava test graph

ava util process dir [INPUTDIR]

Converts a directory of files to a text file

USAGE
  $ ava util process dir [INPUTDIR] [-g <value>] [-i <value>] [-o <value>] [-w]

ARGUMENTS
  INPUTDIR  input directory to convert to text file

FLAGS
  -g, --gitIgnore=<value>   path to .gitignore file to use for ignoring files and directories
  -i, --ignore=<value>      ignore files and directories using comma separated string
  -o, --outputFile=<value>  output file to write to
  -w, --writeToCWD          write to current working directory

DESCRIPTION
  Converts a directory of files to a text file

EXAMPLES
  $ ava util process dir

🚀 Contributing

See the contributing guide.

🏭 Related Repositories

  • @oclif/core - Base library for oclif. This can be used directly without the generator.
  • @oclif/test - Test helper for oclif.

🦔 Learn More