mfhelp 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #!/usr/bin/env bash
  2. #
  3. # mfhelp
  4. #
  5. cat <<THIS
  6. Marlin Firmware Commands:
  7. firstpush ... Push and set-upstream the current branch to 'origin'
  8. ghpc ........ Push the current branch to its upstream branch
  9. ghtp ........ Set the transfer protocol for all your remotes
  10. mfadd ....... Fetch a remote branch from any Marlin fork
  11. mfclean ..... Attempt to clean up merged and deleted branches
  12. mfdoc ....... Build the website, serve locally, and browse
  13. mffp ........ Push new commits directly to MarlinFirmware
  14. mfinfo ...... Provide branch information (for the other scripts)
  15. mfinit ...... Create an 'upstream' remote for 'MarlinFirmare'
  16. mfnew ....... Create a new branch based on 'bugfix-...'
  17. mfpr ........ Push the current branch and open the PR form
  18. mfpub ....... Build and publish the marlinfw.org website
  19. mfqp ........ Commit changes, do an interactive rebase, and push
  20. mfrb ........ Interactively rebase the current branch on 'bugfix-...'
  21. mftest ...... Run a platform test locally with PlatformIO
  22. mfup ........ Fetch the latest 'upstream' and rebase on it
  23. Enter [command] --help for more information.
  24. Build / Test Commands:
  25. mftest ............... Run a platform test locally with PlatformIO
  26. build_all_examples ... Build all configurations of a branch, stop on error
  27. Modify Configuration.h / Configuration_adv.h:
  28. opt_add .............. Add a configuration option (to the top of Configuration.h)
  29. opt_disable .......... Disable a configuration option (modifies )
  30. opt_enable ........... Enable a configuration option
  31. opt_set .............. Set the value of a configuration option
  32. use_example_configs .. Download configs from a remote branch on GitHub
  33. Modify pins files:
  34. pinsformat.py ........ Python script to format pins files
  35. THIS