Skip to content

brtheo/stew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stew

stew is a terminal user interface (TUI) for the Salesforce CLI (sf), built with Go and the Bubble Tea framework. It aims to provide a more interactive and visual way to manage Salesforce environments and metadata directly from the command line.

Stew was built with the goal of being an easy-to-integrate UI for interacting with the SF CLI in code editors other than VS Code, such as Zed, by leveraging its tasks feature.

You can checkout SF Zed Tasks a comprehensive collection of sf and stew Zed tasks. .

Installation

Can be installed via npm (requires sudo on linux)

npm install -g @brtheo/stew

Clone the repository and build the binary:

git clone https://github.com/brtheo/stew.git
cd stew
./build.sh

Features

1. Org Picker

Easily switch between your authenticated Salesforce orgs.

  • Lists all authenticated orgs (Scratch Orgs, Sandboxes, Dev Hubs, etc.).
  • Displays aliases, usernames, and instance URLs. Org Picker

2. Metadata Generator

Streamline the creation of new Salesforce metadata with a simple, interactive form.

  • Lightning Web Components (LWC): Generate new LWC components.
  • Apex Classes: Create new Apex classes.
  • Apex Triggers: Create new Apex triggers with SObject selection.
  • Aura Components: Generate new Aura components.
  • Aura Events: Generate new Aura events.
  • Aura Applications: Generate new Aura applications.
  • Input validation to ensure metadata names are not empty.
  • Real-time feedback on successful creation. Gen Metadata

3. Metadata Retriever - Package XML generator

Browse, search, and select metadata from your Salesforce org to generate a package.xml file.

  • Select a metadata type
  • Browse all available metadata of that type and pick one or more items
  • Generate a package.xml file with the selected metadata. Metadata Retriever

4. Authorize an Org

Wizard to authorize an org.

Roadmap

  • [*] gen aura related stuff
  • gen vf page
  • gen project
  • gen test suite
  • [*] authorize an org/dev hub
  • get apex logs

Prerequisites

About

tui wrapper around the sf cli

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors