Lines Matching +full:- +full:- +full:add
1 .. _west-aliases:
6 West allows to add alias commands to the local, global or system configuration files.
7 These aliases make it easy to add shortcuts for frequently used, or hard to memorize
18 To add a new alias simply call the ``west config`` command:
20 .. code-block:: shell
22 west config alias.mylist "list -f '{name} {revision}'"
27 building more complex but easy-to-remember commands.
31 .. code-block:: shell
33 west config alias.update "update -o=--depth=1 -n"
37 Overriding/shadowing other or built-in commands is an advanced use case, it can lead to
38 strange side-effects and should be done with great care.
41 --------
43 Add ``west run`` and ``west menuconfig`` shortcuts to your global configuration to
46 .. code-block:: shell
48 west config --global alias.run "build --pristine=never --target run"
49 west config --global alias.menuconfig "build --pristine=never --target menuconfig"
53 .. code-block:: shell
55 west config alias.sample "build -b native_sim samples/hello_world -t run -- -DCONFIG_ASSERT=y"
59 .. code-block:: shell
61 west config alias.update "update --path-cache $HOME/.cache/zephyrproject"