Skip to content

zsh completion functions for jsforce CLI & metadata tools

Notifications You must be signed in to change notification settings

jsforce/jsforce-zsh-completions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

JSforce Zsh Completion functions

Completion functions in Zsh for JSforce CLI and its metadata tools.

Installation

  • Clone the repository:

      git clone git://github.com/jsforce/jsforce-zsh-completions.git
    
  • Include the directory in your $fpath, for example by adding in ~/.zshrc:

      fpath=(path/to/jsforce-zsh-completions/functions $fpath)
    
  • You may have to force rebuild zcompdump:

      rm -f ~/.zcompdump; compinit
    

Feature

  • Complete all options available in CLI
  • For --c, --connection option argument, complete candidates from registered connections established in former OAuth2 authorization flow, reading JSforce config file (~/.jsforce/config.json).
$ jsforce --connection admin@a
 -- connections --
admin@aaa.example.com                          admin@abb.example.org
admin@abc.example.net                          admin@abcd.example.org

Requirement

Addition to the installation process above, you need to install jq to get connection completion feature to work.

About

zsh completion functions for jsforce CLI & metadata tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published