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

oe-cloud-cli

v1.6.0

Published

CLI tool for installing and running oe packages

Downloads

17

Readme

oe-cloud-cli

logo

CLI for scaffolding oe-cloud based applications.

This project is modification of original project yeoman/yo

This project is changed from original project for,

  • Changing the route
  • Adding organisation specific documentation in help section
  • Changing code to make it work with corporate proxy
  • Organisation branding added

Please visit yeoman/yo for original documentation.

Installation


# install oe-cloud-cli
$ npm install -g oe-cloud-cli


# start cli
$ oe

oe-usage

Use

Scaffold a new application

  1. Run oe starter-app to create a new oe-cloud application.

      $ oe starter-app
  2. The oe-Cloud application generator will prompt you for the name of the application. For example, type demo as the name of the application

    application-name

  3. Select what kind of application you want to create

    3.1 If selecting oe-cloud-2.x (default selection)

    ![create-oe-cloud-2x](./img/create-oe-cloud-2.x.png)
    
    3.1.1 If selecting **oe-cloud-2.x-server**
         ![create-oe-cloud-2xserver](./img/create-oe-cloud-2xserver.png)
    
    3.1.2 If selecting **oe-cloud-2.x-serverUI**
         ![create-oe-cloud-2xserverUI](./img/create-oe-cloud-2xserverUI.png)
    
    3.1.3 If selecting **oe-cloud-2.x-serverUI** and **Enable oe-studio**
         ![create-oe-cloud-2xstudio](./img/create-oe-cloud-2xstudio.png)
        

    Press Enter to accept default value of Application Description, Version and Author. For oe-cloud 2.0 application, select oe-cloud modules from the checklist using Space Bar Button. Hit Enter to complete module selection.

    3.2 If selecting oe-cloud-1.x

    ![create-oe-cloud-1x](./img/create-oe-cloud-1x.png)
        

    Press Enter to accept default value of Application Description, Version and Author.

    3.3 If selecting oe-cloud-ui

    ![create-oe-cloud-ui](./img/create-oe-cloud-ui.png)
        

    Press Enter to accept default value of Application Description, Version and Author.

  4. The generator will then display messages as it scaffolds the application including:

    4.1 Initializing the project folder structure.

    4.2 Creating default JSON and JS files.

    4.3 Downloading and installing dependent Node modules (as if you had manually done npm install).

  5. Run node . to start the scaffolded server for oe-cloud 1.x and oe-cloud 2.x application

  6. Run npm start to start oe-cloud ui application

What's oe-cloud-cli?

oe-cloud-cli helps you to kickstart new projects, prescribing best practices and tools to help you stay productive.

Advanced CLI options

oe-cloud-cli provides the option to create model, datasource, property, relation, acl and middleware.

# cli to create datasource
$ oe create datasource

# cli to create model
$ oe create model

# cli to create property
$ oe create property

# cli to create relation
$ oe create relation

# cli to create acl
$ oe create acl

# cli to create middleware
$ oe create middleware

oe-cloud-cli also enables the user to perform few basic oe cloud functionalities from command line.

  • default-ui: Allows the user the generate default UIRoute,NavigationLink and UIComponent for the selected Model.
  • ui-route: Allows the user to enter initial data for UIRoute model
  • navigation-link: Allows the user to enter initial data for NavigationLink model
  • workflow: Allow user the attach workflow to a model from the selected list
  • business-rules: Allow user to attach the business-rules to the model.
# cli to define default UI
$ oe define default-ui

# cli to define UI route
$ oe define ui-route

# cli to define navigation link
$ oe define navigation-link

# cli to attach workflow to model
$ oe attach workflow

# cli to attach business rule to model
$ oe attach business-rules