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

@shoutem/cli

Package Overview
Dependencies
Maintainers
1
Versions
408
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shoutem/cli

Command-line tools for Shoutem applications

  • 0.0.25
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18
decreased by-25%
Maintainers
1
Weekly downloads
 
Created
Source

Shoutem CLI

Command-line tools for Shoutem extensions.

shoutem register

Enter your Shoutem credentials, and register as a developer. If you're not a Shoutem user yet, sign up at www.shoutem.com.

Example
$ shoutem register
Please enter your credentials
username johnny.bravo@shoutem.com
password ******

Please enter a new developer name
name Johnny
You are registered as "Johnny"

shoutem init

This will ask you a bunch of questions, and then write the extension.json file. Also, it will create app and server folders to store all assets of your extension.

Example
$ shoutem init
This utility will walk you through creating the extension.json file
name (test) hello
version (0.0.1)
title (test)
description Hello, extensions!
Extension initialized

Layout after running shoutem init:

.
├── app
│   ├── index.js
│   └── package.json
├── extension.json
└── server

shoutem upload

Upload the extension so it can be installed to applications.

As long as version in extension.json is unchanged, every upload will simply overwrite the current content of the extension. Once you bump up the version, shoutem upload will not affect the already uploaded extension - instead, a new extension will be created which can be installed independently from previous versions.

shoutem install

Install extension into an app. If extension flag is not used, local extension will be installed.

Examples

Install local extension:

$ shoutem install --app=1234
Extension installed

Install any extension by id:

$ shoutem install --app=1234 --extension=5678
Extension installed

shoutem logout

Logout from Shoutem by erasing local credentials. After this, commands will ask you to login before continuing.

Default theme

On every rubicon theme change, CLI shoud be updated to reflect that change.

Rubicon default theme

https://github.com/5minutes/shoutem-extensions/blob/develop/shoutem-rubicon-theme/app/themes/Rubicon.js -> templates/theme/app/theme.js.template
https://github.com/5minutes/shoutem-extensions/blob/develop/shoutem-rubicon-theme/server/themeVariables.json -> templates/theme/server-themes-variables.json.template

FAQs

Package last updated on 29 Sep 2016

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