Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@treasured/cli

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@treasured/cli

This is the CLI tool for the exhibit-x project. Right now, there's only one command: `clone`.

  • 0.0.25
  • latest
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

cli

This is the CLI tool for the exhibit-x project. Right now, there's only one command: clone.

Prerequisites

Before you can use the CLI, you need to install dependencies and build the CLI source code:

$ yarn install
$ yarn build:packages

The CLI expects to be run from a directory that contains a .env file, typically the app/ directory. The .env file should contain the following variables:

TREASURED_AWS_ACCESS_KEY_ID=
TREASURED_AWS_SECRET_ACCESS_KEY=
TREASURED_AWS_REGION=
TREASURED_AWS_BUILD_BUCKET=
TREASURED_AWS_BUILD_PREFIX=
TREASURED_AWS_CLOUDFRONT_DISTRIBUTION=

Usage

Here's an example of how to use it:

$ yarn treasured clone nft --output=./public/builds/360/

This will clone the nft build from S3 into the public/builds/360/ directory.

If you run this command again, the CLI is smart enough to detect that you already have this build cloned. If you'd like to overwrite the existing files and re-clone, you can use the --force flag:

$ yarn treasured clone nft --output=./public/builds/360/ --force

FAQs

Package last updated on 11 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc