From f83e06c66a5840f1fb5f6868e6e3a6fa4e0c6e55 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Thu, 3 Apr 2025 00:18:34 +0000 Subject: [PATCH] Update cheatsheets --- tldr/greater-than | 6 ++++- tldr/sfdk | 33 +++++++++++++++++++++++++ tldr/sfdk-apply | 17 +++++++++++++ tldr/sfdk-build-init | 17 +++++++++++++ tldr/sfdk-build-requires | 29 ++++++++++++++++++++++ tldr/sfdk-build-shell | 22 +++++++++++++++++ tldr/sfdk-check | 33 +++++++++++++++++++++++++ tldr/sfdk-cmake | 33 +++++++++++++++++++++++++ tldr/sfdk-compiledb | 17 +++++++++++++ tldr/sfdk-config | 33 +++++++++++++++++++++++++ tldr/sfdk-deploy | 29 ++++++++++++++++++++++ tldr/sfdk-device | 21 ++++++++++++++++ tldr/sfdk-emulator | 29 ++++++++++++++++++++++ tldr/sfdk-emulator-device-model-list | 12 +++++++++ tldr/sfdk-emulator-device-model-show | 16 ++++++++++++ tldr/sfdk-emulator-exec | 17 +++++++++++++ tldr/sfdk-emulator-install | 25 +++++++++++++++++++ tldr/sfdk-emulator-list | 12 +++++++++ tldr/sfdk-emulator-remove | 12 +++++++++ tldr/sfdk-emulator-set | 17 +++++++++++++ tldr/sfdk-emulator-show | 12 +++++++++ tldr/sfdk-emulator-start | 24 ++++++++++++++++++ tldr/sfdk-emulator-status | 12 +++++++++ tldr/sfdk-emulator-stop | 12 +++++++++ tldr/sfdk-engine | 37 ++++++++++++++++++++++++++++ tldr/sfdk-init | 25 +++++++++++++++++++ tldr/sfdk-maintain | 12 +++++++++ tldr/sfdk-make | 17 +++++++++++++ tldr/sfdk-make-install | 13 ++++++++++ tldr/sfdk-package | 21 ++++++++++++++++ tldr/sfdk-prepare | 13 ++++++++++ tldr/sfdk-qmake | 25 +++++++++++++++++++ tldr/sfdk-qmltypes | 28 +++++++++++++++++++++ tldr/sfdk-scrape | 28 +++++++++++++++++++++ tldr/sfdk-undeploy | 25 +++++++++++++++++++ 35 files changed, 733 insertions(+), 1 deletion(-) create mode 100644 tldr/sfdk create mode 100644 tldr/sfdk-apply create mode 100644 tldr/sfdk-build-init create mode 100644 tldr/sfdk-build-requires create mode 100644 tldr/sfdk-build-shell create mode 100644 tldr/sfdk-check create mode 100644 tldr/sfdk-cmake create mode 100644 tldr/sfdk-compiledb create mode 100644 tldr/sfdk-config create mode 100644 tldr/sfdk-deploy create mode 100644 tldr/sfdk-device create mode 100644 tldr/sfdk-emulator create mode 100644 tldr/sfdk-emulator-device-model-list create mode 100644 tldr/sfdk-emulator-device-model-show create mode 100644 tldr/sfdk-emulator-exec create mode 100644 tldr/sfdk-emulator-install create mode 100644 tldr/sfdk-emulator-list create mode 100644 tldr/sfdk-emulator-remove create mode 100644 tldr/sfdk-emulator-set create mode 100644 tldr/sfdk-emulator-show create mode 100644 tldr/sfdk-emulator-start create mode 100644 tldr/sfdk-emulator-status create mode 100644 tldr/sfdk-emulator-stop create mode 100644 tldr/sfdk-engine create mode 100644 tldr/sfdk-init create mode 100644 tldr/sfdk-maintain create mode 100644 tldr/sfdk-make create mode 100644 tldr/sfdk-make-install create mode 100644 tldr/sfdk-package create mode 100644 tldr/sfdk-prepare create mode 100644 tldr/sfdk-qmake create mode 100644 tldr/sfdk-qmltypes create mode 100644 tldr/sfdk-scrape create mode 100644 tldr/sfdk-undeploy diff --git a/tldr/greater-than b/tldr/greater-than index 3fd29069..67628d32 100644 --- a/tldr/greater-than +++ b/tldr/greater-than @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # Greater than -> Redirect output to a file. +> Redirect output. > More information: . - Redirect `stdout` to a file: @@ -27,3 +27,7 @@ source: https://github.com/tldr-pages/tldr.git - Clear the file contents or create a new empty file: `> {{path/to/file}}` + +- Redirect `stderr` to `stdout` for piping them together: + +`{{command1}} 2>&1 | {{command2}}` diff --git a/tldr/sfdk b/tldr/sfdk new file mode 100644 index 00000000..6cd14863 --- /dev/null +++ b/tldr/sfdk @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk + +> The command line frontend of the Sailfish SDK. +> More information: . + +- Execute a subcommand: + +`sfdk {{subcommand}}` + +- Execute a subcommand on a custom working directory: + +`git -C {{path/to/directory}} {{subcommand}}` + +- Execute a subcommand with a given configuration set: + +`git -c '{{name}}={{value}}' {{subcommand}}` + +- Display help: + +`sfdk --help` + +- Display help for specific topic (`building`, `testing`, `maintaining`, `ide`, `all`): + +`sfdk --help-{{topic}}` + +- Display version: + +`sfdk --version` diff --git a/tldr/sfdk-apply b/tldr/sfdk-apply new file mode 100644 index 00000000..0f2e8bb8 --- /dev/null +++ b/tldr/sfdk-apply @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk apply + +> Applies patches from RPM SPEC file. +> More information: . + +- Apply all patches: + +`sfdk apply` + +- Reverse apply all patches: + +`sfdk apply -R` diff --git a/tldr/sfdk-build-init b/tldr/sfdk-build-init new file mode 100644 index 00000000..e11eaac9 --- /dev/null +++ b/tldr/sfdk-build-init @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk build-init + +> Initializes build directory. +> More information: . + +- Initialize the current directory as the build directory: + +`sfdk build-init` + +- Initialize the specified directory as the build directory: + +`sfdk build-init {{directory}}` diff --git a/tldr/sfdk-build-requires b/tldr/sfdk-build-requires new file mode 100644 index 00000000..5e69ddbc --- /dev/null +++ b/tldr/sfdk-build-requires @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk build-requires + +> Updates build time dependencies. +> More information: . + +- Run a subcommand refreshing the cache: + +`sfdk build-requires --refresh {{subcommand}}` + +- Run a subcommand without refreshing the cache: + +`sfdk build-requires --no-refresh {{subcommand}}` + +- Install or update the build-time dependencies: + +`sfdk build-requires pull` + +- Install or update the build-time dependencies, omitting all extra ones: + +`sfdk build-requires reset` + +- Show the difference between current and clean build environments: + +`sfdk build-requires diff` diff --git a/tldr/sfdk-build-shell b/tldr/sfdk-build-shell new file mode 100644 index 00000000..1b157cd4 --- /dev/null +++ b/tldr/sfdk-build-shell @@ -0,0 +1,22 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk build-shell + +> Executes custom steps in build engine. +> See also: `sfdk config` for configuring the build target and `sfdk build-init` for initializing build tree. +> More information: . + +- Launch interactive shell in the build engine: + +`sfdk build-shell` + +- Run a specified command in the build shell: + +`sfdk build-shell {{command}}` + +- Launch interactive shell in the build engine in maintenance mode, when inspecting or modifying the build environment: + +`sfdk build-shell --maintain` diff --git a/tldr/sfdk-check b/tldr/sfdk-check new file mode 100644 index 00000000..cf2ea000 --- /dev/null +++ b/tldr/sfdk-check @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk check + +> Performs quality checks. +> More information: . + +- Display test suites: + +`sfdk check --list-suites` + +- Run all or essential test suites: + +`sfdk check` + +- Add testing level to the check: + +`sfdk check -l +{{level}}` + +- Remove testing level from the check: + +`sfdk check -l -{{level}}` + +- Add testing suite to the check: + +`sfdk check -s +{{suite}}` + +- Remove testing suite from the check: + +`sfdk check -s -{{suite}}` diff --git a/tldr/sfdk-cmake b/tldr/sfdk-cmake new file mode 100644 index 00000000..ef1a9347 --- /dev/null +++ b/tldr/sfdk-cmake @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk cmake + +> Executes cmake build step. +> More information: . + +- Run cmake: + +`sfdk cmake` + +- Run cmake in specified project directory: + +`sfdk cmake {{project}}` + +- Run cmake with extra arguments: + +`sfdk cmake -- {{arguments}}` + +- Run cmake build in current directory: + +`sfdk cmake --build .` + +- Run cmake build in current directory with extra cmake arguments: + +`sfdk cmake --build . {{cmake-arguments}}` + +- Run cmake build in current directory with extra build tool arguments: + +`sfdk cmake --build . -- {{build-tool-arguments}}` diff --git a/tldr/sfdk-compiledb b/tldr/sfdk-compiledb new file mode 100644 index 00000000..890b3b4b --- /dev/null +++ b/tldr/sfdk-compiledb @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk compiledb + +> Generates compilation database. +> More information: . + +- Generate compilation database: + +`sfdk compiledb` + +- Generate compilation database with extra `make` arguments: + +`sfdk compiledb {{arguments}}` diff --git a/tldr/sfdk-config b/tldr/sfdk-config new file mode 100644 index 00000000..1191996c --- /dev/null +++ b/tldr/sfdk-config @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk config + +> Configures sfdk. +> More information: . + +- Show configuration in all scopes: + +`sfdk config --show` + +- Set a configuration value: + +`sfdk config {{name}}={{value}}` + +- Mask an option as empty: + +`sfdk config {{name}}=` + +- Mask an option as empty without pushing it at the inner scope: + +`sfdk config {{name}}` + +- Clear option value: + +`sfdk --drop {{name}}` + +- Run subcommand in specified scope (`global`, `session` or `command`): + +`sfdk config --{{scope}} {{subcommand}}` diff --git a/tldr/sfdk-deploy b/tldr/sfdk-deploy new file mode 100644 index 00000000..64c87dcb --- /dev/null +++ b/tldr/sfdk-deploy @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk deploy + +> Deploys build results to a device. +> More information: . + +- Deploy using a specified method (`pkcon`, `rsync`, `sdk`, `zypper`, `zypper-dup` or `manual`): + +`sfdk deploy --{{method}}` + +- Preview deploy without applying the changes: + +`sfdk deploy --{{method}} --dry-run` + +- Deploy files in glob pattern `package*`: + +`sfdk deploy --{{method}} "+package*"` + +- Deploy all files excluding `ignore*`: + +`sfdk deploy --{{method}} "-ignore*"` + +- Undeploy using a specified method (`pkcon`, `rpm`, `rsync`, `sdk` or `zypper`): + +`sfdk undeploy --{{method}}` diff --git a/tldr/sfdk-device b/tldr/sfdk-device new file mode 100644 index 00000000..b69afc49 --- /dev/null +++ b/tldr/sfdk-device @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk device + +> Maintains and controls registered devices. +> More information: . + +- Display the registered devices: + +`sfdk device list` + +- Execute a command on a device by name or index: + +`sfdk device exec {{device-name-or-idx}} {{command}}` + +- Run an interactive shell on a device by name or index: + +`sfdk device exec {{device-name-or-idx}}` diff --git a/tldr/sfdk-emulator b/tldr/sfdk-emulator new file mode 100644 index 00000000..74d7145b --- /dev/null +++ b/tldr/sfdk-emulator @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk emulator + +> Maintains and controls emulators. +> More information: . + +- Display the installed emulators: + +`sfdk emulator list` + +- Start an emulator: + +`sfdk emulator start {{name}}` + +- Stop an emulator: + +`sfdk emulator stop {{name}}` + +- Display emulator status: + +`sfdk emulator status {{name}}` + +- Run an interactive shell on an emulator: + +`sfdk emulator exec {{emulator}}` diff --git a/tldr/sfdk-emulator-device-model-list b/tldr/sfdk-emulator-device-model-list new file mode 100644 index 00000000..4f2e48bd --- /dev/null +++ b/tldr/sfdk-emulator-device-model-list @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk emulator device-model-list + +> This command has been moved to `sfdk emulator device-model-show`. + +- View documentation for `sfdk emulator device-model-show`: + +`tldr sfdk emulator device-model-show` diff --git a/tldr/sfdk-emulator-device-model-show b/tldr/sfdk-emulator-device-model-show new file mode 100644 index 00000000..4dab833c --- /dev/null +++ b/tldr/sfdk-emulator-device-model-show @@ -0,0 +1,16 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk emulator device-model-show + +> Show emulated device model's properties. + +- Show a model properties: + +`sfdk emulator device-model-show {{model}}` + +- Display available device models: + +`sfdk emulator device-model-list` diff --git a/tldr/sfdk-emulator-exec b/tldr/sfdk-emulator-exec new file mode 100644 index 00000000..d7cc58dd --- /dev/null +++ b/tldr/sfdk-emulator-exec @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk emulator exec + +> Execute a command on an emulator. +> More information: . + +- Execute a command on an emulator: + +`sfdk emulator exec {{emulator}} {{command}}` + +- Run an interactive shell on an emulator: + +`sfdk emulator exec {{emulator}}` diff --git a/tldr/sfdk-emulator-install b/tldr/sfdk-emulator-install new file mode 100644 index 00000000..c80ce03c --- /dev/null +++ b/tldr/sfdk-emulator-install @@ -0,0 +1,25 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk emulator install + +> Installs emulators. +> More information: . + +- Install an emulator: + +`sfdk emulator install {{name}}` + +- Remove an emulator: + +`sfdk emulator remove {{name}}` + +- Display the available emulators: + +`sfdk emulator list -a` + +- Display the installed emulators: + +`sfdk emulator list` diff --git a/tldr/sfdk-emulator-list b/tldr/sfdk-emulator-list new file mode 100644 index 00000000..d5772f06 --- /dev/null +++ b/tldr/sfdk-emulator-list @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk emulator list + +> This command has been moved to `sfdk emulator install`. + +- View documentation for `sfdk emulator install`: + +`tldr sfdk emulator install` diff --git a/tldr/sfdk-emulator-remove b/tldr/sfdk-emulator-remove new file mode 100644 index 00000000..0489c242 --- /dev/null +++ b/tldr/sfdk-emulator-remove @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk emulator remove + +> This command has been moved to `sfdk emulator install`. + +- View documentation for `sfdk emulator install`: + +`tldr sfdk emulator install` diff --git a/tldr/sfdk-emulator-set b/tldr/sfdk-emulator-set new file mode 100644 index 00000000..f7ff7356 --- /dev/null +++ b/tldr/sfdk-emulator-set @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk emulator set + +> Sets emulator properties. +> More information: . + +- Set a property: + +`sfdk emulator set {{name}} {{property}}={{value}}` + +- Show emulator properties: + +`sfdk emulator show {{name}}` diff --git a/tldr/sfdk-emulator-show b/tldr/sfdk-emulator-show new file mode 100644 index 00000000..9c5f6a12 --- /dev/null +++ b/tldr/sfdk-emulator-show @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk emulator show + +> This command has been moved to `sfdk emulator set`. + +- View documentation for `sfdk emulator set`: + +`tldr sfdk emulator set` diff --git a/tldr/sfdk-emulator-start b/tldr/sfdk-emulator-start new file mode 100644 index 00000000..70dd0946 --- /dev/null +++ b/tldr/sfdk-emulator-start @@ -0,0 +1,24 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk emulator start + +> Starts an emulator. + +- Start an emulator: + +`sfdk emulator start {{name}}` + +- Stop an emulator: + +`sfdk emulator stop {{name}}` + +- Display emulator status: + +`sfdk emulator status {{name}}` + +- Display the installed emulators: + +`sfdk emulator list` diff --git a/tldr/sfdk-emulator-status b/tldr/sfdk-emulator-status new file mode 100644 index 00000000..5c185e45 --- /dev/null +++ b/tldr/sfdk-emulator-status @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk emulator status + +> This command has been moved to `sfdk emulator start`. + +- View documentation for `sfdk emulator start`: + +`tldr sfdk emulator start` diff --git a/tldr/sfdk-emulator-stop b/tldr/sfdk-emulator-stop new file mode 100644 index 00000000..6d073b8b --- /dev/null +++ b/tldr/sfdk-emulator-stop @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk emulator stop + +> This command has been moved to `sfdk emulator start`. + +- View documentation for `sfdk emulator start`: + +`tldr sfdk emulator start` diff --git a/tldr/sfdk-engine b/tldr/sfdk-engine new file mode 100644 index 00000000..8eb2516a --- /dev/null +++ b/tldr/sfdk-engine @@ -0,0 +1,37 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk engine + +> Maintains and controls the build engine. +> More information: . + +- Start the build engine: + +`sfdk engine start` + +- Stop the build engine: + +`sfdk engine stop` + +- Show the build engine status: + +`sfdk engine status` + +- Set an engine property: + +`sfdk engine set {{property}}={{value}}` + +- Show the engine properties: + +`sfdk engine show` + +- Execute a command on the build engine: + +`sfdk engine exec {{command}}` + +- Start an interactive shell on the build engine: + +`sfdk engine exec` diff --git a/tldr/sfdk-init b/tldr/sfdk-init new file mode 100644 index 00000000..dbf20a14 --- /dev/null +++ b/tldr/sfdk-init @@ -0,0 +1,25 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk init + +> Initializes a new project. +> More information: . + +- Initialize a new project of the given type: + +`sfdk init -t {{type}}` + +- Initialize a new project with a specified builder: + +`sfdk init -t {{type}} -b {{builder}}` + +- Initialize a new project ignoring non-empty directory: + +`sfdk init -t {{type}} --force` + +- List available project types: + +`sfdk init -l` diff --git a/tldr/sfdk-maintain b/tldr/sfdk-maintain new file mode 100644 index 00000000..810415a8 --- /dev/null +++ b/tldr/sfdk-maintain @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk maintain + +> Launches the interactive SDK Maintenance tool. + +- Launch SDK Maintenance tool: + +`sfdk maintain` diff --git a/tldr/sfdk-make b/tldr/sfdk-make new file mode 100644 index 00000000..e8d03ce8 --- /dev/null +++ b/tldr/sfdk-make @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk make + +> Executes make build step. +> More information: . + +- Run make build: + +`sfdk make` + +- Run make with extra arguments: + +`sfdk make {{arguments}}` diff --git a/tldr/sfdk-make-install b/tldr/sfdk-make-install new file mode 100644 index 00000000..75ceb1cc --- /dev/null +++ b/tldr/sfdk-make-install @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk make-install + +> Executes make-install build step. +> More information: . + +- Run make-install section of RPM SPEC file: + +`sfdk make-install` diff --git a/tldr/sfdk-package b/tldr/sfdk-package new file mode 100644 index 00000000..d578c6d8 --- /dev/null +++ b/tldr/sfdk-package @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk package + +> Executes package creation build step. +> More information: . + +- Create a package: + +`sfdk package` + +- Create a package without executing the check section in RPM SPEC file: + +`sfdk package --no-check` + +- Create and sign a package: + +`sfdk package --sign` diff --git a/tldr/sfdk-prepare b/tldr/sfdk-prepare new file mode 100644 index 00000000..90eb4d43 --- /dev/null +++ b/tldr/sfdk-prepare @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk prepare + +> Executes preparation build step. +> More information: . + +- Prepare sources using the recipe from RPM SPEC file: + +`sfdk prepare` diff --git a/tldr/sfdk-qmake b/tldr/sfdk-qmake new file mode 100644 index 00000000..d8477a20 --- /dev/null +++ b/tldr/sfdk-qmake @@ -0,0 +1,25 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk qmake + +> Executes qmake build step. +> More information: . + +- Run qmake build: + +`sfdk qmake` + +- Run shadow qmake build in a specified project: + +`sfdk qmake {{project}}` + +- Run build with extra qmake arguments: + +`sfdk qmake -- {{arguments}}` + +- Run shadow qmake build with extra qmake arguments: + +`sfdk qmake {{project}} {{arguments}}` diff --git a/tldr/sfdk-qmltypes b/tldr/sfdk-qmltypes new file mode 100644 index 00000000..ef501c32 --- /dev/null +++ b/tldr/sfdk-qmltypes @@ -0,0 +1,28 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk qmltypes + +> Generates qmltypes files. + +- Generate qmltypes files: + +`sfdk qmltypes` + +- Generate qmltypes files without deploying them (usually to emulator): + +`sfdk qmltypes --no-deploy` + +- Generate qmltypes files without restoring the emulator after deployment: + +`sfdk qmltypes --no-restore-emulator` + +- Generate qmltypes files and restore the emulator after deployment even on failure: + +`sfdk qmltypes --restore-emulator` + +- Generate qmltypes files without reverting changes which only include removal of statements with `sdk-make-qmltypes:keep` in comments: + +`sfdk qmltypes --no-keep` diff --git a/tldr/sfdk-scrape b/tldr/sfdk-scrape new file mode 100644 index 00000000..f8cea813 --- /dev/null +++ b/tldr/sfdk-scrape @@ -0,0 +1,28 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk scrape + +> Converts source code modifications to patches. + +- Save source modifications as patches: + +`sfdk scrape` + +- Preview the list of commits to be scrapped: + +`sfdk scrape --dry-run` + +- Scrape while preserving the original patches file names: + +`sfdk scrape --stable` + +- Scrape while saving patches to a specified [o]utput directory: + +`sfdk scrape -o {{directory}}` + +- Scrape without removing commits from submodules after creating patches: + +`sfdk scrape --keep` diff --git a/tldr/sfdk-undeploy b/tldr/sfdk-undeploy new file mode 100644 index 00000000..e0760262 --- /dev/null +++ b/tldr/sfdk-undeploy @@ -0,0 +1,25 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sfdk undeploy + +> Undeploys build results from a device. +> More information: . + +- Undeploy using a specified method (`pkcon`, `rpm`, `rsync`, `sdk` or `zypper`): + +`sfdk undeploy --{{method}}` + +- Preview undeploy without applying the changes: + +`sfdk undeploy --{{method}} --dry-run` + +- Undeploy files in glob pattern `package*`: + +`sfdk undeploy --{{method}} "+package*"` + +- Undeploy all files excluding `ignore*`: + +`sfdk undeploy --{{method}} "-ignore*"`