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

@sproutasia/sprout-cli

v1.0.0

Published

SproutCLI

Downloads

1

Readme

sprout-cli

Sprout CLI

oclif Version CircleCI Appveyor CI Codecov Downloads/week License

Usage

$ npm install -g @sproutasia/sprout-cli
$ sprout COMMAND
running command...
$ sprout (-v|--version|version)
@sproutasia/sprout-cli/1.0.0 darwin-x64 node-v16.6.1
$ sprout --help [COMMAND]
USAGE
  $ sprout COMMAND
...

Commands

sprout acra

ACRA command to interact with ACRA API

USAGE
  $ sprout acra

OPTIONS
  -a, --action=action    Action to call on Acra. possible actions are refresh, keyDates, entitySearch, officeHolders,
                         shareHolders

  -s, --sandbox=sandbox  Set to true if sandbox

  -u, --uen=uen          UEN of company

DESCRIPTION
  Must have a valid ACRA Token before accessing ACRA API
  refresh - Total refresh of the given UEN. Pull data from all the actions below.

  entitySearch - refreshes information such as name, incorp date
  keyDates - refreshes incorp date
  officeHolders - refreshes officeholders which includes directors and secretaries
  shareHolders - refreshes shareholders.
  connection - checks for good connection with ACRA.

See code: src/commands/acra.js

sprout airtable [ACTION]

Interact with Airtable, usually to refresh data from ACRA

USAGE
  $ sprout airtable [ACTION]

ARGUMENTS
  ACTION  (refresh|removeOrphans|connection) Action that you wanna do. See description for more info of required flags.

OPTIONS
  -m, --maxRecords=maxRecords  Max number of records to process. defaulted to 100
  -t, --table=table            The airtable base name
  -v, --view=view              Define a view where sproutCLI would look for UEN numbers.

DESCRIPTION
  Actions
  refresh - 		Must supply --view and optionally --maxRecords
  removeOrphans - 	Must supply --table name. The script would automatically look at the "Orphaned" 
  			view and remove everything without thinking.
  connetion - checks the connection stuatus

See code: src/commands/airtable.js

sprout chargebee [ACTION]

Command used to interact with Chargebee

USAGE
  $ sprout chargebee [ACTION]

ARGUMENTS
  ACTION  (refresh|linkToCompany|connection|outstandingInvoices) Action that you wanna do. See description for more info
          of required flags.

OPTIONS
  -m, --maxRecords=maxRecords  Max number of records to process. defaulted to 100
  -t, --table=table            The airtable base name
  -v, --view=view              Define a view where sproutCLI would look for UEN numbers.

See code: src/commands/chargebee.js

sprout cron [ACTION]

Contains all the regular run scripts that are required to maintain database integrity.

USAGE
  $ sprout cron [ACTION]

ARGUMENTS
  ACTION  (daily|monthly|adhoc) Action that you wanna do. See description for more info of required flags.

See code: src/commands/cron.js

sprout document

Load new ACRA Token using this command

USAGE
  $ sprout document

DESCRIPTION
  Automatically goes to ACRA to find a new Token. Required before we can interface with ACRA.

See code: src/commands/document.js

sprout help [COMMAND]

display help for sprout

USAGE
  $ sprout help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

sprout hubspot [ACTION]

Command used to interact with Hubspot

USAGE
  $ sprout hubspot [ACTION]

ARGUMENTS
  ACTION  (addHubspotContactsIntoAirtable|contactsFromCompanies|deleteDuplicateCompanies|linkCompanyToHS|companiesWithou
          tContacts|syncNFYEDates|pumpUENFromView|pumpLineItemsFromView|ticketsCreateForFYEMonth|connection) Action that
          you wanna do. See description for more info of required flags.

OPTIONS
  -v, --value=value  value to action on

See code: src/commands/hubspot.js

sprout token

Load new ACRA Token using this command

USAGE
  $ sprout token

DESCRIPTION
  Automatically goes to ACRA to find a new Token. Required before we can interface with ACRA.

See code: src/commands/token.js