Giter Site home page Giter Site logo

kerryspchang / shell Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ibm-functions/shell

0.0 1.0 0.0 3.94 MB

An Electron-based development tool for IBM Cloud Functions and Composer.

License: Apache License 2.0

Shell 1.24% Batchfile 0.01% JavaScript 90.79% CSS 6.89% HTML 1.06% Python 0.01% Java 0.01%

shell's Introduction

Travis License Join Slack codecov HitCount

IBM Cloud Functions Shell

Welcome to a new development experience for IBM Cloud Functions. Cloud Functions Shell (or just Shell) is an Electron desktop application that combines a command-line interface (CLI) and a graphical user interface (GUI):

  • Developers interact with the cloud mainly through execute textual commands, as in a conventional CLI. The command-line style of interaction enables quick task switching without clicking through various links and allows task automation through scripting.
  • Unlike conventional CLIs, in Shell, data returned from the cloud are carefully rendered into prettified code, tables and visualizations to assist users in various tasks. Mouse interactions are added to avoid copying lengthy text or IDs. Shell also integrates some common graphical tools such as a debugger for inspecting parameters and inserting breakpoints, and an light-weight text editor that offers real-time syntax highlighting.

As a local desktop application, Shell is fast and is designed for productive use, and can access local storage to provide new features like interacting with other editors and debugging a function in a local container.

Installing Shell

Shell is currently distributed through the Node.js package manager (NPM). We recommend that you install the shell globally (npm install -g):

$ npm install -g @ibm-functions/shell

If you are an existing wsk or bx wsk CLI user, you should be able to start using Shell right away with the host and credential specified in $HOME/.wskprops. If you have never installed bx wsk or wsk CLI before, follow the instructions in the install and troubleshooting page to set up your environment.

Starting Shell

$ fsh shell

fsh is a shorthand for "function shell". You will see a new window popped up. Welcome to Shell!

Tip: You can pin Shell's icon to the desktop for quick access. For example, in MacOS, you can right click on the blue Shell icon and select Options > Keep in Dock. Next time you can click on that icon to start Shell from the dock.

Interface Overview

Working in Shell

Shell has a CLI and a sidecar that can be opened and closed on demand. Contents that need more space such as JSON data or visualizations are usually shown in the sidecar, whereas execution messages and lists are shown under the corresponding command.

Learning Shell

Developing Shell together

Contributions are welcome. Please join in developing and extending the Shell code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.