Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common Things You Should Know/CheatSheet page #9

Open
pchittum opened this issue Nov 2, 2018 · 1 comment
Open

Common Things You Should Know/CheatSheet page #9

pchittum opened this issue Nov 2, 2018 · 1 comment

Comments

@pchittum
Copy link
Collaborator

pchittum commented Nov 2, 2018

Universal flags (-u, -h, -t)

Maybe things like piping and redirects and other common CLI techniques with references to better documentation locations. Not reproduce the docs, but refer to other places where people can learn about them.

@Szandor72
Copy link
Collaborator

Szandor72 commented Nov 3, 2018

I started on the path of a common 'cheatsheet', then I found myself writing two cheatsheets, now I am suggesting a cheatsheet and a dx common things to know:

CLI Cheatsheet

  1. How do I open a command line to a specific folder
  • Mac
  • Win: Shift+Right-Click on Folder, open Powershell Window here
  1. Things that work in any command line and help you survive
  • pwd, ls, cp, mv, cd, mkdir, rm, >, cat
  • tab completion
  • arrow up to go through cmd history

| pipe technically works but what comes behind it differs greatly.

  1. Searching the CLI History
  • Mac: Ctrl+R
  • Win: F8

Common Things You Should Know about the DX CLI

Common Flags

  1. General
  • -h / --help, -u / --targetusername, --json
  • -n usually indicates a name, -f usually a file
  1. Related to Topics
  • SOQL / schema:sobject:describe: -t / --usetoolingapi
  • deployment / installations: -w / --wait

[...]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants