From 6f95553e3314da6aa82126ada965c986908ce049 Mon Sep 17 00:00:00 2001 From: Eduardo Rodriguez Date: Sun, 10 Apr 2022 11:07:14 +0200 Subject: [PATCH 1/3] add nativescript workflows --- specs/nativescript/add_platform.yaml | 14 +++++++++++++ specs/nativescript/build_the_project.yaml | 14 +++++++++++++ ...eck_nativescript_system_configuration.yaml | 14 +++++++++++++ .../nativescript/clean_project_artifacts.yaml | 11 ++++++++++ .../configure_error_reporting.yaml | 11 ++++++++++ .../configure_shell_autocompletion.yaml | 14 +++++++++++++ .../configure_unit_testing_framework.yaml | 14 +++++++++++++ .../configure_usage_reporting.yaml | 11 ++++++++++ .../nativescript/create_nativecript_app.yaml | 14 +++++++++++++ specs/nativescript/debug_the_project.yaml | 14 +++++++++++++ specs/nativescript/deploy_the_project.yaml | 14 +++++++++++++ .../display_nativescript_proxy_settings.yaml | 11 ++++++++++ ...ersion_information_about_nativescript.yaml | 11 ++++++++++ .../nativescript/generate_icons_resource.yaml | 14 +++++++++++++ .../generate_platform_typings.yaml | 14 +++++++++++++ .../generate_splashscreens_resource.yaml | 14 +++++++++++++ specs/nativescript/install_dependencies.yaml | 14 +++++++++++++ ...st_applications_installed_on_a_device.yaml | 11 ++++++++++ ...pplications_records_in_itunes_connect.yaml | 16 +++++++++++++++ .../nativescript/list_connected_devices.yaml | 14 +++++++++++++ specs/nativescript/list_platforms.yaml | 11 ++++++++++ specs/nativescript/manage_plugins.yaml | 14 +++++++++++++ ...pendencies_to_the_latest_version copy.yaml | 11 ++++++++++ .../nativescript/open_device_log_stream.yaml | 11 ++++++++++ .../prepare_resources_and_platforms.yaml | 14 +++++++++++++ specs/nativescript/remove_platform.yaml | 14 +++++++++++++ specs/nativescript/run_project_on_device.yaml | 14 +++++++++++++ specs/nativescript/run_the_project.yaml | 14 +++++++++++++ specs/nativescript/run_unit_tests.yaml | 14 +++++++++++++ .../show_current_package_manager.yaml | 11 ++++++++++ ...elp_about_the_commands_in_the_browser.yaml | 14 +++++++++++++ ...pt_dependencies_to_the_latest_version.yaml | 14 +++++++++++++ specs/nativescript/update_platform.yaml | 14 +++++++++++++ specs/nativescript/update_resource.yaml | 15 ++++++++++++++ .../upload_project_to_itunes_connect .yaml | 20 +++++++++++++++++++ 35 files changed, 469 insertions(+) create mode 100644 specs/nativescript/add_platform.yaml create mode 100644 specs/nativescript/build_the_project.yaml create mode 100644 specs/nativescript/check_nativescript_system_configuration.yaml create mode 100644 specs/nativescript/clean_project_artifacts.yaml create mode 100644 specs/nativescript/configure_error_reporting.yaml create mode 100644 specs/nativescript/configure_shell_autocompletion.yaml create mode 100644 specs/nativescript/configure_unit_testing_framework.yaml create mode 100644 specs/nativescript/configure_usage_reporting.yaml create mode 100644 specs/nativescript/create_nativecript_app.yaml create mode 100644 specs/nativescript/debug_the_project.yaml create mode 100644 specs/nativescript/deploy_the_project.yaml create mode 100644 specs/nativescript/display_nativescript_proxy_settings.yaml create mode 100644 specs/nativescript/display_version_information_about_nativescript.yaml create mode 100644 specs/nativescript/generate_icons_resource.yaml create mode 100644 specs/nativescript/generate_platform_typings.yaml create mode 100644 specs/nativescript/generate_splashscreens_resource.yaml create mode 100644 specs/nativescript/install_dependencies.yaml create mode 100644 specs/nativescript/list_applications_installed_on_a_device.yaml create mode 100644 specs/nativescript/list_applications_records_in_itunes_connect.yaml create mode 100644 specs/nativescript/list_connected_devices.yaml create mode 100644 specs/nativescript/list_platforms.yaml create mode 100644 specs/nativescript/manage_plugins.yaml create mode 100644 specs/nativescript/migrate_nativescript_dependencies_to_the_latest_version copy.yaml create mode 100644 specs/nativescript/open_device_log_stream.yaml create mode 100644 specs/nativescript/prepare_resources_and_platforms.yaml create mode 100644 specs/nativescript/remove_platform.yaml create mode 100644 specs/nativescript/run_project_on_device.yaml create mode 100644 specs/nativescript/run_the_project.yaml create mode 100644 specs/nativescript/run_unit_tests.yaml create mode 100644 specs/nativescript/show_current_package_manager.yaml create mode 100644 specs/nativescript/show_help_about_the_commands_in_the_browser.yaml create mode 100644 specs/nativescript/update_nativescript_dependencies_to_the_latest_version.yaml create mode 100644 specs/nativescript/update_platform.yaml create mode 100644 specs/nativescript/update_resource.yaml create mode 100644 specs/nativescript/upload_project_to_itunes_connect .yaml diff --git a/specs/nativescript/add_platform.yaml b/specs/nativescript/add_platform.yaml new file mode 100644 index 0000000..1fac648 --- /dev/null +++ b/specs/nativescript/add_platform.yaml @@ -0,0 +1,14 @@ +name: Configure the current project to target the selected platform. +command: "ns platform add {{platform}}" +tags: + - ns + - tns + - nativescript +description: "Configures the current project to target the selected platform. When you add a target platform, the NativeScript CLI creates a corresponding platform-specific subdirectory under the platforms directory. This platform-specific directory contains the necessary files to let you build your project for the target platform." +arguments: + - name: platform + description: The name of the platform. E.g. ios, android, etc. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/configuration/platform-add.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/build_the_project.yaml b/specs/nativescript/build_the_project.yaml new file mode 100644 index 0000000..5a8cdb4 --- /dev/null +++ b/specs/nativescript/build_the_project.yaml @@ -0,0 +1,14 @@ +name: Build the project for Android or iOS. +command: "ns build {{platform}}" +tags: + - ns + - tns + - nativescript +description: "Builds the project for Android or iOS and produces an application package that you can manually deploy on a device or native emulator." +arguments: + - name: platform + description: The name of the platform. E.g. ios, android, etc. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/testing/build.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/check_nativescript_system_configuration.yaml b/specs/nativescript/check_nativescript_system_configuration.yaml new file mode 100644 index 0000000..576b134 --- /dev/null +++ b/specs/nativescript/check_nativescript_system_configuration.yaml @@ -0,0 +1,14 @@ +name: Check Nativescript system's configuration. +command: "ns doctor {{platform}}" +tags: + - ns + - tns + - nativescript +description: "Checks your system for configuration problems which might prevent the NativeScript CLI from working properly for the specified platform, if configured." +arguments: + - name: platform + description: The name of the platform. E.g. ios, android, etc. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/doctor.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/clean_project_artifacts.yaml b/specs/nativescript/clean_project_artifacts.yaml new file mode 100644 index 0000000..b83507f --- /dev/null +++ b/specs/nativescript/clean_project_artifacts.yaml @@ -0,0 +1,11 @@ +name: Clean project artifacts. +command: "ns clean" +tags: + - ns + - tns + - nativescript +description: "Clean project artifacts." +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/clean.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/configure_error_reporting.yaml b/specs/nativescript/configure_error_reporting.yaml new file mode 100644 index 0000000..11e42d5 --- /dev/null +++ b/specs/nativescript/configure_error_reporting.yaml @@ -0,0 +1,11 @@ +name: Configure error reporting. +command: "ns error-reporting" +tags: + - ns + - tns + - nativescript +description: "Configures anonymous error reporting for the NativeScript CLI." +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/error-reporting.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/configure_shell_autocompletion.yaml b/specs/nativescript/configure_shell_autocompletion.yaml new file mode 100644 index 0000000..b758917 --- /dev/null +++ b/specs/nativescript/configure_shell_autocompletion.yaml @@ -0,0 +1,14 @@ +name: Configure command-line autocompletion. +command: "ns autocomplete {{command}}" +tags: + - ns + - tns + - nativescript +description: "Prints your current command-line completion settings. If disabled, prompts you to enable it." +arguments: + - name: command + description: options are status, enable, disable. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/autocomplete.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/configure_unit_testing_framework.yaml b/specs/nativescript/configure_unit_testing_framework.yaml new file mode 100644 index 0000000..a47c3cf --- /dev/null +++ b/specs/nativescript/configure_unit_testing_framework.yaml @@ -0,0 +1,14 @@ +name: Configures your project for unit testing with a selected framework. +command: "ns test init {{framework}}" +tags: + - ns + - tns + - nativescript +description: "Configures your project for unit testing with a selected framework. This operation installs the @nativescript/unit-test-runner npm module and its dependencies and creates a tests folder in the app directory." +arguments: + - name: framework + description: The following frameworks are available - mocha, jasmine and qunit. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/testing/test-init.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/configure_usage_reporting.yaml b/specs/nativescript/configure_usage_reporting.yaml new file mode 100644 index 0000000..eeac87d --- /dev/null +++ b/specs/nativescript/configure_usage_reporting.yaml @@ -0,0 +1,11 @@ +name: Configure usage reporting. +command: "ns usage-reporting" +tags: + - ns + - tns + - nativescript +description: "Configures anonymous usage reporting for the NativeScript CLI." +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/usage-reporting.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/create_nativecript_app.yaml b/specs/nativescript/create_nativecript_app.yaml new file mode 100644 index 0000000..63e078e --- /dev/null +++ b/specs/nativescript/create_nativecript_app.yaml @@ -0,0 +1,14 @@ +name: Create a Nativescript app. +command: "ns create {{app_name}}" +tags: + - ns + - tns + - nativescript +description: "Interactively creates a new NativeScript app based on a predefined template." +arguments: + - name: app_name + description: The name of project and must meet the requirements of each platform that you want to target. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/creation/create.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/debug_the_project.yaml b/specs/nativescript/debug_the_project.yaml new file mode 100644 index 0000000..e6dcfca --- /dev/null +++ b/specs/nativescript/debug_the_project.yaml @@ -0,0 +1,14 @@ +name: Initiate a debugging session for your project. +command: "ns debug {{platform}}" +tags: + - ns + - tns + - nativescript +description: "Initiates a debugging session for your project on a connected device or native emulator. The command will prepare, build, deploy and launch the app before starting the debug session." +arguments: + - name: platform + description: The name of the platform. E.g. ios, android, etc. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/testing/debug.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/deploy_the_project.yaml b/specs/nativescript/deploy_the_project.yaml new file mode 100644 index 0000000..9cbba68 --- /dev/null +++ b/specs/nativescript/deploy_the_project.yaml @@ -0,0 +1,14 @@ +name: Prepare, build and deploy the project to a connected device or native emulator. +command: "ns deploy {{platform}}" +tags: + - ns + - tns + - nativescript +description: "Prepares, builds and deploys the project to a connected device or native emulator. It will deploy the app on all connected devices targeting the selected platform." +arguments: + - name: platform + description: The name of the platform. E.g. ios, android, etc. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/testing/deploy.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/display_nativescript_proxy_settings.yaml b/specs/nativescript/display_nativescript_proxy_settings.yaml new file mode 100644 index 0000000..7659b76 --- /dev/null +++ b/specs/nativescript/display_nativescript_proxy_settings.yaml @@ -0,0 +1,11 @@ +name: Display proxy settings of the NativeScript CLI. +command: "ns proxy" +tags: + - ns + - tns + - nativescript +description: "Displays the current proxy settings of the NativeScript CLI." +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/proxy.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/display_version_information_about_nativescript.yaml b/specs/nativescript/display_version_information_about_nativescript.yaml new file mode 100644 index 0000000..f6929e6 --- /dev/null +++ b/specs/nativescript/display_version_information_about_nativescript.yaml @@ -0,0 +1,11 @@ +name: Display version information about NativeScript. +command: "ns info" +tags: + - ns + - tns + - nativescript +description: "Displays version information about the NativeScript CLI, core modules, and runtimes." +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/info.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/generate_icons_resource.yaml b/specs/nativescript/generate_icons_resource.yaml new file mode 100644 index 0000000..482f093 --- /dev/null +++ b/specs/nativescript/generate_icons_resource.yaml @@ -0,0 +1,14 @@ +name: Generate all icons for Android and iOS platforms. +command: "ns resources generate icons {{path_to_image}}" +tags: + - ns + - tns + - nativescript +description: "Generates all icons for Android and iOS platforms and places the generated images in the correct directories under App_Resources/ directory." +arguments: + - name: path_to_image + description: It is a valid path to an image that will be used to generate all icons. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/configuration/resources/resources-generate-icons.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/generate_platform_typings.yaml b/specs/nativescript/generate_platform_typings.yaml new file mode 100644 index 0000000..465be3c --- /dev/null +++ b/specs/nativescript/generate_platform_typings.yaml @@ -0,0 +1,14 @@ +name: Generate platform's (iOS and/or Android) typings. +command: "ns typings {{platform}}" +tags: + - ns + - tns + - nativescript +description: "Generate iOS & Android typings by default respecting platform support, so no iOS typings generated on Windows/Linux machines." +arguments: + - name: platform + description: The name of the platform. E.g. ios, android, etc. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/testing/typings.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/generate_splashscreens_resource.yaml b/specs/nativescript/generate_splashscreens_resource.yaml new file mode 100644 index 0000000..e0b2f22 --- /dev/null +++ b/specs/nativescript/generate_splashscreens_resource.yaml @@ -0,0 +1,14 @@ +name: Generate all splashscreens for Android and iOS platforms. +command: "ns resources generate splashes {{path_to_image}}" +tags: + - ns + - tns + - nativescript +description: "Generates all splashscreens for Android and iOS platforms and places the generated images in the correct directories under App_Resources/ directory." +arguments: + - name: path_to_image + description: It is a valid path to an image that will be used to generate all splashscreens. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/configuration/resources/resources-generate-splashes.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/install_dependencies.yaml b/specs/nativescript/install_dependencies.yaml new file mode 100644 index 0000000..d683582 --- /dev/null +++ b/specs/nativescript/install_dependencies.yaml @@ -0,0 +1,14 @@ +name: Install dependencies. +command: "ns install {{module}}" +tags: + - ns + - tns + - nativescript +description: "Installs all dependencies described in a valid package.json or installs a selected NativeScript development module as a dev dependency." +arguments: + - name: module + description: Specifies a NativeScript development module by path to a local directory containing a valid npm module or by name in the npm registry. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/configuration/install.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/list_applications_installed_on_a_device.yaml b/specs/nativescript/list_applications_installed_on_a_device.yaml new file mode 100644 index 0000000..4e65e5d --- /dev/null +++ b/specs/nativescript/list_applications_installed_on_a_device.yaml @@ -0,0 +1,11 @@ +name: List applications installed on a device. +command: "ns device list-applications" +tags: + - ns + - tns + - nativescript +description: "Lists the installed applications on all connected Android and iOS devices." +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/device/device-list-applications.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/list_applications_records_in_itunes_connect.yaml b/specs/nativescript/list_applications_records_in_itunes_connect.yaml new file mode 100644 index 0000000..c9d742c --- /dev/null +++ b/specs/nativescript/list_applications_records_in_itunes_connect.yaml @@ -0,0 +1,16 @@ +name: List all application records in iTunes Connect. +command: "ns appstore {{apple_id}} {{password}}" +tags: + - ns + - tns + - nativescript +description: "Lists all application records in iTunes Connect. The list contains name, version and bundle ID for each application record." +arguments: + - name: apple_id + description: iTunes connect id + - name: password + description: Itunes connect password +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/publishing/appstore.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/list_connected_devices.yaml b/specs/nativescript/list_connected_devices.yaml new file mode 100644 index 0000000..c894737 --- /dev/null +++ b/specs/nativescript/list_connected_devices.yaml @@ -0,0 +1,14 @@ +name: List all recognized connected devices. +command: "ns device {{platform}}" +tags: + - ns + - tns + - nativescript +description: "Lists all recognized connected Android or iOS devices with serial number and index, grouped by platform." +arguments: + - name: platform + description: (Optional) The name of the platform. E.g.. ios, android, etc. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/device/device.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/list_platforms.yaml b/specs/nativescript/list_platforms.yaml new file mode 100644 index 0000000..e3154a6 --- /dev/null +++ b/specs/nativescript/list_platforms.yaml @@ -0,0 +1,11 @@ +name: Lists all platforms that the project currently targets. +command: "ns platform list" +tags: + - ns + - tns + - nativescript +description: "Lists all platforms that the project currently targets. You can build and deploy your project only for these target platforms." +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/configuration/platform.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/manage_plugins.yaml b/specs/nativescript/manage_plugins.yaml new file mode 100644 index 0000000..6ba52b7 --- /dev/null +++ b/specs/nativescript/manage_plugins.yaml @@ -0,0 +1,14 @@ +name: Manage Plugins. +command: "ns plugin {{command}}" +tags: + - ns + - tns + - nativescript +description: "Lets you manage the plugins for your project." +arguments: + - name: command + description: Extends the plugin command. Options - add, remove, update, build, create +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/lib-management/plugin.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/migrate_nativescript_dependencies_to_the_latest_version copy.yaml b/specs/nativescript/migrate_nativescript_dependencies_to_the_latest_version copy.yaml new file mode 100644 index 0000000..58b716a --- /dev/null +++ b/specs/nativescript/migrate_nativescript_dependencies_to_the_latest_version copy.yaml @@ -0,0 +1,11 @@ +name: Migrate Nativescript dependencies to the latest version. +command: "ns migrate" +tags: + - ns + - tns + - nativescript +description: "Migrates the app dependencies to a form compatible with the latest NativeScript. Running this command will not affect the codebase of the application and you might need to do additional changes manually." +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/migrate.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/open_device_log_stream.yaml b/specs/nativescript/open_device_log_stream.yaml new file mode 100644 index 0000000..dc7e874 --- /dev/null +++ b/specs/nativescript/open_device_log_stream.yaml @@ -0,0 +1,11 @@ +name: Open the device log stream. +command: "ns device log" +tags: + - ns + - tns + - nativescript +description: "Opens the device log stream for a selected connected Android or iOS device." +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/device/device-log.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/prepare_resources_and_platforms.yaml b/specs/nativescript/prepare_resources_and_platforms.yaml new file mode 100644 index 0000000..7ad043a --- /dev/null +++ b/specs/nativescript/prepare_resources_and_platforms.yaml @@ -0,0 +1,14 @@ +name: Prepare the app's App_Resources and the plugins platforms directories. +command: "ns prepare {{platform}}" +tags: + - ns + - tns + - nativescript +description: "Starts a Webpack compilation and prepares the app's App_Resources and the plugins platforms directories. The output is generated in a subdirectory for the selected target platform in the platforms directory. This lets you build the project for the selected platform." +arguments: + - name: platform + description: The name of the platform. E.g. ios, android, etc. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/configuration/prepare.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/remove_platform.yaml b/specs/nativescript/remove_platform.yaml new file mode 100644 index 0000000..4de451d --- /dev/null +++ b/specs/nativescript/remove_platform.yaml @@ -0,0 +1,14 @@ +name: Remove the selected platform from the project. +command: "ns platform remove {{platform}}" +tags: + - ns + - tns + - nativescript +description: "Removes the selected platform from the platforms that the project currently targets. After removing the target platform, you can no longer build and deploy your app on devices which run on the platform." +arguments: + - name: platform + description: The name of the platform. E.g. ios, android, etc. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/configuration/platform-remove.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/run_project_on_device.yaml b/specs/nativescript/run_project_on_device.yaml new file mode 100644 index 0000000..1110748 --- /dev/null +++ b/specs/nativescript/run_project_on_device.yaml @@ -0,0 +1,14 @@ +name: Run the selected application on a connected device. +command: "ns run {{application_id}}" +tags: + - ns + - tns + - nativescript +description: "Runs the selected application on a connected Android or iOS device." +arguments: + - name: application_id + description: (Optional) It is the application identifier as listed by $ ns device list-applications. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/device/device-run.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/run_the_project.yaml b/specs/nativescript/run_the_project.yaml new file mode 100644 index 0000000..a7a1932 --- /dev/null +++ b/specs/nativescript/run_the_project.yaml @@ -0,0 +1,14 @@ +name: Run the project for Android or iOS. +command: "ns run {{platform}}" +tags: + - ns + - tns + - nativescript +description: "Runs your project on all connected devices or in native emulators for the selected platform. The command will work with all currently running Android devices and emulators. The command will prepare, build and deploy the app when necessary. By default listens for changes in your code, synchronizes those changes and refreshes all selected devices." +arguments: + - name: platform + description: The name of the platform. E.g. ios, android, etc. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/testing/run.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/run_unit_tests.yaml b/specs/nativescript/run_unit_tests.yaml new file mode 100644 index 0000000..9a50f70 --- /dev/null +++ b/specs/nativescript/run_unit_tests.yaml @@ -0,0 +1,14 @@ +name: Run unit tests. +command: "ns test {{platform}}" +tags: + - ns + - tns + - nativescript +description: "Runs unit tests on the selected mobile platform. Your project must already be configured for unit testing by running $ ns test init." +arguments: + - name: platform + description: The name of the platform. E.g. ios, android, etc. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/testing/test.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/show_current_package_manager.yaml b/specs/nativescript/show_current_package_manager.yaml new file mode 100644 index 0000000..5567342 --- /dev/null +++ b/specs/nativescript/show_current_package_manager.yaml @@ -0,0 +1,11 @@ +name: Show current package manager. +command: "ns package-manager" +tags: + - ns + - tns + - nativescript +description: "Prints the value of the current package manager." +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/package-manager.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/show_help_about_the_commands_in_the_browser.yaml b/specs/nativescript/show_help_about_the_commands_in_the_browser.yaml new file mode 100644 index 0000000..7351aaa --- /dev/null +++ b/specs/nativescript/show_help_about_the_commands_in_the_browser.yaml @@ -0,0 +1,14 @@ +name: Show information about the commands in the browser. +command: "ns help {{command}}" +tags: + - ns + - tns + - nativescript +description: "Shows additional information about the commands in this list in the browser." +arguments: + - name: command + description: The name of the command in the list. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/help.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/update_nativescript_dependencies_to_the_latest_version.yaml b/specs/nativescript/update_nativescript_dependencies_to_the_latest_version.yaml new file mode 100644 index 0000000..7ee0771 --- /dev/null +++ b/specs/nativescript/update_nativescript_dependencies_to_the_latest_version.yaml @@ -0,0 +1,14 @@ +name: Update Nativescript dependencies to the latest version. +command: "ns update {{version}}" +tags: + - ns + - tns + - nativescript +description: "Updates the project with the latest versions of iOS/Android runtimes, cross-platform modules and "@nativescript/webpack"." +arguments: + - name: version + description: (Optional) An existing version. E.g. 5.0.0, next (latest development release) +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/update.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/update_platform.yaml b/specs/nativescript/update_platform.yaml new file mode 100644 index 0000000..0bcf26f --- /dev/null +++ b/specs/nativescript/update_platform.yaml @@ -0,0 +1,14 @@ +name: Update the NativeScript runtime for the specified platform. +command: "ns platform update {{platform}}" +tags: + - ns + - tns + - nativescript +description: "Updates the NativeScript runtime for the specified platform." +arguments: + - name: platform + description: The name of the platform. E.g. ios, android, etc. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/configuration/platform-update.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/update_resource.yaml b/specs/nativescript/update_resource.yaml new file mode 100644 index 0000000..cede7a9 --- /dev/null +++ b/specs/nativescript/update_resource.yaml @@ -0,0 +1,15 @@ +name: Update the App_Resources's folder structure. +command: "ns resources update {{platform}}" +tags: + - ns + - tns + - nativescript +description: "Updates the App_Resources/'s internal folder structure to conform to that of an Android Studio project." +arguments: + - name: platform + description: Defaults to android. Running $ ns resources-update ios will have no effect. + default_value: android +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/configuration/resources/resources-update.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] diff --git a/specs/nativescript/upload_project_to_itunes_connect .yaml b/specs/nativescript/upload_project_to_itunes_connect .yaml new file mode 100644 index 0000000..d270c13 --- /dev/null +++ b/specs/nativescript/upload_project_to_itunes_connect .yaml @@ -0,0 +1,20 @@ +name: Upload project to iTunes Connect. +command: "ns appstore upload {{apple_id}} {{password}} {{mobile_provisioning_profile_identifier}} {{code_sign_identity}}" +tags: + - ns + - tns + - nativescript +description: "Uploads project to iTunes Connect. The command either issues a production build and uploads it to iTunes Connect, or uses an already built package to upload." +arguments: + - name: apple_id + description: iTunes connect id. + - name: password + description: Itunes connect password. + - name: mobile_provisioning_profile_identifier + description: The identifier of the mobile provision (E.g.. d5d40f61-b303-4fc8-aea3-fbb229a8171c) which will be used for building. This can easily be acquired through the iPhone Configuration Utility. + - name: code_sign_identity + description: The code sign identity which will be used for building. You can set it to something generic like 'iPhone Distribution' to let the build automatically detect a code sign identity. +source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/publishing/appstore-upload.md" +author: erodriguezh +author_url: "https://github.com/erodriguezh" +shells: [] From 362a82f100f57c24da34253f312884a589700d20 Mon Sep 17 00:00:00 2001 From: Eduardo Rodriguez Date: Tue, 12 Apr 2022 09:06:10 +0200 Subject: [PATCH 2/3] Add accuracy to titles and descriptions to make it clear the context is NativeScript --- specs/nativescript/add_platform.yaml | 4 ++-- specs/nativescript/build_the_project.yaml | 4 ++-- specs/nativescript/clean_project_artifacts.yaml | 4 ++-- specs/nativescript/configure_error_reporting.yaml | 2 +- specs/nativescript/configure_shell_autocompletion.yaml | 4 ++-- specs/nativescript/configure_unit_testing_framework.yaml | 4 ++-- specs/nativescript/configure_usage_reporting.yaml | 2 +- specs/nativescript/create_nativecript_app.yaml | 2 +- specs/nativescript/debug_the_project.yaml | 4 ++-- specs/nativescript/deploy_the_project.yaml | 4 ++-- specs/nativescript/generate_icons_resource.yaml | 4 ++-- specs/nativescript/generate_platform_typings.yaml | 4 ++-- specs/nativescript/generate_splashscreens_resource.yaml | 4 ++-- specs/nativescript/install_dependencies.yaml | 2 +- .../nativescript/list_applications_installed_on_a_device.yaml | 4 ++-- .../list_applications_records_in_itunes_connect.yaml | 4 ++-- specs/nativescript/list_connected_devices.yaml | 4 ++-- specs/nativescript/list_platforms.yaml | 4 ++-- specs/nativescript/manage_plugins.yaml | 4 ++-- specs/nativescript/open_device_log_stream.yaml | 4 ++-- specs/nativescript/prepare_resources_and_platforms.yaml | 4 ++-- specs/nativescript/remove_platform.yaml | 4 ++-- specs/nativescript/run_project_on_device.yaml | 4 ++-- specs/nativescript/run_the_project.yaml | 4 ++-- specs/nativescript/run_unit_tests.yaml | 4 ++-- specs/nativescript/show_current_package_manager.yaml | 4 ++-- .../show_help_about_the_commands_in_the_browser.yaml | 4 ++-- ...pdate_nativescript_dependencies_to_the_latest_version.yaml | 2 +- specs/nativescript/update_resource.yaml | 4 ++-- specs/nativescript/upload_project_to_itunes_connect .yaml | 4 ++-- 30 files changed, 55 insertions(+), 55 deletions(-) diff --git a/specs/nativescript/add_platform.yaml b/specs/nativescript/add_platform.yaml index 1fac648..2ec0c10 100644 --- a/specs/nativescript/add_platform.yaml +++ b/specs/nativescript/add_platform.yaml @@ -1,10 +1,10 @@ -name: Configure the current project to target the selected platform. +name: Configure your current NativeScript project to target the selected platform. command: "ns platform add {{platform}}" tags: - ns - tns - nativescript -description: "Configures the current project to target the selected platform. When you add a target platform, the NativeScript CLI creates a corresponding platform-specific subdirectory under the platforms directory. This platform-specific directory contains the necessary files to let you build your project for the target platform." +description: "Configures the current NativeScript project to target the selected platform. When you add a target platform, the NativeScript CLI creates a corresponding platform-specific subdirectory under the platforms directory. This platform-specific directory contains the necessary files to let you build your project for the target platform." arguments: - name: platform description: The name of the platform. E.g. ios, android, etc. diff --git a/specs/nativescript/build_the_project.yaml b/specs/nativescript/build_the_project.yaml index 5a8cdb4..482e5df 100644 --- a/specs/nativescript/build_the_project.yaml +++ b/specs/nativescript/build_the_project.yaml @@ -1,10 +1,10 @@ -name: Build the project for Android or iOS. +name: Build your NativeScript project for Android or iOS. command: "ns build {{platform}}" tags: - ns - tns - nativescript -description: "Builds the project for Android or iOS and produces an application package that you can manually deploy on a device or native emulator." +description: "Builds your NativeScript project for Android or iOS and produces an application package that you can manually deploy on a device or native emulator." arguments: - name: platform description: The name of the platform. E.g. ios, android, etc. diff --git a/specs/nativescript/clean_project_artifacts.yaml b/specs/nativescript/clean_project_artifacts.yaml index b83507f..0e7fa43 100644 --- a/specs/nativescript/clean_project_artifacts.yaml +++ b/specs/nativescript/clean_project_artifacts.yaml @@ -1,10 +1,10 @@ -name: Clean project artifacts. +name: Clean your NativeScript project artifacts. command: "ns clean" tags: - ns - tns - nativescript -description: "Clean project artifacts." +description: "Cleans your NativeScript project artifacts." source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/clean.md" author: erodriguezh author_url: "https://github.com/erodriguezh" diff --git a/specs/nativescript/configure_error_reporting.yaml b/specs/nativescript/configure_error_reporting.yaml index 11e42d5..17e9e85 100644 --- a/specs/nativescript/configure_error_reporting.yaml +++ b/specs/nativescript/configure_error_reporting.yaml @@ -1,4 +1,4 @@ -name: Configure error reporting. +name: Configure NativeScript CLI error reporting. command: "ns error-reporting" tags: - ns diff --git a/specs/nativescript/configure_shell_autocompletion.yaml b/specs/nativescript/configure_shell_autocompletion.yaml index b758917..34e3713 100644 --- a/specs/nativescript/configure_shell_autocompletion.yaml +++ b/specs/nativescript/configure_shell_autocompletion.yaml @@ -1,10 +1,10 @@ -name: Configure command-line autocompletion. +name: Configure NativeScript command-line autocompletion. command: "ns autocomplete {{command}}" tags: - ns - tns - nativescript -description: "Prints your current command-line completion settings. If disabled, prompts you to enable it." +description: "Prints your current NativeScript command-line completion settings. If disabled, prompts you to enable it." arguments: - name: command description: options are status, enable, disable. diff --git a/specs/nativescript/configure_unit_testing_framework.yaml b/specs/nativescript/configure_unit_testing_framework.yaml index a47c3cf..4db6ea7 100644 --- a/specs/nativescript/configure_unit_testing_framework.yaml +++ b/specs/nativescript/configure_unit_testing_framework.yaml @@ -1,10 +1,10 @@ -name: Configures your project for unit testing with a selected framework. +name: Configures your NativeScript project for unit testing with a selected framework. command: "ns test init {{framework}}" tags: - ns - tns - nativescript -description: "Configures your project for unit testing with a selected framework. This operation installs the @nativescript/unit-test-runner npm module and its dependencies and creates a tests folder in the app directory." +description: "Configures your NativeScript project for unit testing with a selected framework. This operation installs the @nativescript/unit-test-runner npm module and its dependencies and creates a tests folder in the app directory." arguments: - name: framework description: The following frameworks are available - mocha, jasmine and qunit. diff --git a/specs/nativescript/configure_usage_reporting.yaml b/specs/nativescript/configure_usage_reporting.yaml index eeac87d..08bffff 100644 --- a/specs/nativescript/configure_usage_reporting.yaml +++ b/specs/nativescript/configure_usage_reporting.yaml @@ -1,4 +1,4 @@ -name: Configure usage reporting. +name: Configure NativeScript CLI usage reporting. command: "ns usage-reporting" tags: - ns diff --git a/specs/nativescript/create_nativecript_app.yaml b/specs/nativescript/create_nativecript_app.yaml index 63e078e..4ae397c 100644 --- a/specs/nativescript/create_nativecript_app.yaml +++ b/specs/nativescript/create_nativecript_app.yaml @@ -1,4 +1,4 @@ -name: Create a Nativescript app. +name: Create a NativeScript app. command: "ns create {{app_name}}" tags: - ns diff --git a/specs/nativescript/debug_the_project.yaml b/specs/nativescript/debug_the_project.yaml index e6dcfca..9236cac 100644 --- a/specs/nativescript/debug_the_project.yaml +++ b/specs/nativescript/debug_the_project.yaml @@ -1,10 +1,10 @@ -name: Initiate a debugging session for your project. +name: Initiate a debugging session for your NativeScript project. command: "ns debug {{platform}}" tags: - ns - tns - nativescript -description: "Initiates a debugging session for your project on a connected device or native emulator. The command will prepare, build, deploy and launch the app before starting the debug session." +description: "Initiates a debugging session for your NativeScript project on a connected device or native emulator. The command will prepare, build, deploy and launch the app before starting the debug session." arguments: - name: platform description: The name of the platform. E.g. ios, android, etc. diff --git a/specs/nativescript/deploy_the_project.yaml b/specs/nativescript/deploy_the_project.yaml index 9cbba68..4bb35c6 100644 --- a/specs/nativescript/deploy_the_project.yaml +++ b/specs/nativescript/deploy_the_project.yaml @@ -1,10 +1,10 @@ -name: Prepare, build and deploy the project to a connected device or native emulator. +name: Prepare, build and deploy your NativeScript project to a connected device or native emulator. command: "ns deploy {{platform}}" tags: - ns - tns - nativescript -description: "Prepares, builds and deploys the project to a connected device or native emulator. It will deploy the app on all connected devices targeting the selected platform." +description: "Prepares, builds and deploys your NativeScript project to a connected device or native emulator. It will deploy the app on all connected devices targeting the selected platform." arguments: - name: platform description: The name of the platform. E.g. ios, android, etc. diff --git a/specs/nativescript/generate_icons_resource.yaml b/specs/nativescript/generate_icons_resource.yaml index 482f093..75ba191 100644 --- a/specs/nativescript/generate_icons_resource.yaml +++ b/specs/nativescript/generate_icons_resource.yaml @@ -1,10 +1,10 @@ -name: Generate all icons for Android and iOS platforms. +name: Generate all icons for Android and iOS platforms for your NativeScript project. command: "ns resources generate icons {{path_to_image}}" tags: - ns - tns - nativescript -description: "Generates all icons for Android and iOS platforms and places the generated images in the correct directories under App_Resources/ directory." +description: "Generates all icons for Android and iOS platforms for your NativeScript. It places the generated images in the correct directories under App_Resources/ directory." arguments: - name: path_to_image description: It is a valid path to an image that will be used to generate all icons. diff --git a/specs/nativescript/generate_platform_typings.yaml b/specs/nativescript/generate_platform_typings.yaml index 465be3c..2d079a9 100644 --- a/specs/nativescript/generate_platform_typings.yaml +++ b/specs/nativescript/generate_platform_typings.yaml @@ -1,10 +1,10 @@ -name: Generate platform's (iOS and/or Android) typings. +name: Generate platform's (iOS and/or Android) typings for your NativeScript project. command: "ns typings {{platform}}" tags: - ns - tns - nativescript -description: "Generate iOS & Android typings by default respecting platform support, so no iOS typings generated on Windows/Linux machines." +description: "Generate iOS & Android typings for your NativeScript project. By default respecting platform support, so no iOS typings generated on Windows/Linux machines." arguments: - name: platform description: The name of the platform. E.g. ios, android, etc. diff --git a/specs/nativescript/generate_splashscreens_resource.yaml b/specs/nativescript/generate_splashscreens_resource.yaml index e0b2f22..01f3044 100644 --- a/specs/nativescript/generate_splashscreens_resource.yaml +++ b/specs/nativescript/generate_splashscreens_resource.yaml @@ -1,10 +1,10 @@ -name: Generate all splashscreens for Android and iOS platforms. +name: Generate all splashscreens for Android and iOS platforms for your NativeScript project. command: "ns resources generate splashes {{path_to_image}}" tags: - ns - tns - nativescript -description: "Generates all splashscreens for Android and iOS platforms and places the generated images in the correct directories under App_Resources/ directory." +description: "Generates all splashscreens for Android and iOS platforms for your NativeScript project. It places the generated images in the correct directories under App_Resources/ directory." arguments: - name: path_to_image description: It is a valid path to an image that will be used to generate all splashscreens. diff --git a/specs/nativescript/install_dependencies.yaml b/specs/nativescript/install_dependencies.yaml index d683582..6cd8125 100644 --- a/specs/nativescript/install_dependencies.yaml +++ b/specs/nativescript/install_dependencies.yaml @@ -1,4 +1,4 @@ -name: Install dependencies. +name: Install dependencies for your NativeScript project. command: "ns install {{module}}" tags: - ns diff --git a/specs/nativescript/list_applications_installed_on_a_device.yaml b/specs/nativescript/list_applications_installed_on_a_device.yaml index 4e65e5d..06d5725 100644 --- a/specs/nativescript/list_applications_installed_on_a_device.yaml +++ b/specs/nativescript/list_applications_installed_on_a_device.yaml @@ -1,10 +1,10 @@ -name: List applications installed on a device. +name: List applications installed on a device using NativeScript CLI. command: "ns device list-applications" tags: - ns - tns - nativescript -description: "Lists the installed applications on all connected Android and iOS devices." +description: "NativeScript lists the installed applications on all connected Android and iOS devices." source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/device/device-list-applications.md" author: erodriguezh author_url: "https://github.com/erodriguezh" diff --git a/specs/nativescript/list_applications_records_in_itunes_connect.yaml b/specs/nativescript/list_applications_records_in_itunes_connect.yaml index c9d742c..4919ad5 100644 --- a/specs/nativescript/list_applications_records_in_itunes_connect.yaml +++ b/specs/nativescript/list_applications_records_in_itunes_connect.yaml @@ -1,10 +1,10 @@ -name: List all application records in iTunes Connect. +name: List all application records in iTunes Connect using NativeScript CLI. command: "ns appstore {{apple_id}} {{password}}" tags: - ns - tns - nativescript -description: "Lists all application records in iTunes Connect. The list contains name, version and bundle ID for each application record." +description: "NativeScript lists all application records in iTunes Connect. The list contains name, version and bundle ID for each application record." arguments: - name: apple_id description: iTunes connect id diff --git a/specs/nativescript/list_connected_devices.yaml b/specs/nativescript/list_connected_devices.yaml index c894737..7e8ef17 100644 --- a/specs/nativescript/list_connected_devices.yaml +++ b/specs/nativescript/list_connected_devices.yaml @@ -1,10 +1,10 @@ -name: List all recognized connected devices. +name: List all recognized connected devices using NativeScript CLI. command: "ns device {{platform}}" tags: - ns - tns - nativescript -description: "Lists all recognized connected Android or iOS devices with serial number and index, grouped by platform." +description: "NativeScript lists all recognized connected Android or iOS devices with serial number and index, grouped by platform." arguments: - name: platform description: (Optional) The name of the platform. E.g.. ios, android, etc. diff --git a/specs/nativescript/list_platforms.yaml b/specs/nativescript/list_platforms.yaml index e3154a6..aceaebf 100644 --- a/specs/nativescript/list_platforms.yaml +++ b/specs/nativescript/list_platforms.yaml @@ -1,10 +1,10 @@ -name: Lists all platforms that the project currently targets. +name: Lists all platforms that your NativeScript project currently targets. command: "ns platform list" tags: - ns - tns - nativescript -description: "Lists all platforms that the project currently targets. You can build and deploy your project only for these target platforms." +description: "Lists all platforms that your NativeScript project currently targets. You can build and deploy your project only for these target platforms." source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/configuration/platform.md" author: erodriguezh author_url: "https://github.com/erodriguezh" diff --git a/specs/nativescript/manage_plugins.yaml b/specs/nativescript/manage_plugins.yaml index 6ba52b7..25f2e98 100644 --- a/specs/nativescript/manage_plugins.yaml +++ b/specs/nativescript/manage_plugins.yaml @@ -1,10 +1,10 @@ -name: Manage Plugins. +name: Manage Plugins in your NativeScript project. command: "ns plugin {{command}}" tags: - ns - tns - nativescript -description: "Lets you manage the plugins for your project." +description: "Lets you manage the plugins for your NativeScript project." arguments: - name: command description: Extends the plugin command. Options - add, remove, update, build, create diff --git a/specs/nativescript/open_device_log_stream.yaml b/specs/nativescript/open_device_log_stream.yaml index dc7e874..dbfca55 100644 --- a/specs/nativescript/open_device_log_stream.yaml +++ b/specs/nativescript/open_device_log_stream.yaml @@ -1,10 +1,10 @@ -name: Open the device log stream. +name: Open the device log stream using NativeScript CLI. command: "ns device log" tags: - ns - tns - nativescript -description: "Opens the device log stream for a selected connected Android or iOS device." +description: "NativeScript opens the device log stream for a selected connected Android or iOS device." source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/device/device-log.md" author: erodriguezh author_url: "https://github.com/erodriguezh" diff --git a/specs/nativescript/prepare_resources_and_platforms.yaml b/specs/nativescript/prepare_resources_and_platforms.yaml index 7ad043a..3aa841a 100644 --- a/specs/nativescript/prepare_resources_and_platforms.yaml +++ b/specs/nativescript/prepare_resources_and_platforms.yaml @@ -1,10 +1,10 @@ -name: Prepare the app's App_Resources and the plugins platforms directories. +name: Prepare the app's App_Resources and the plugins platforms directories in your NativeScript project. command: "ns prepare {{platform}}" tags: - ns - tns - nativescript -description: "Starts a Webpack compilation and prepares the app's App_Resources and the plugins platforms directories. The output is generated in a subdirectory for the selected target platform in the platforms directory. This lets you build the project for the selected platform." +description: "Starts a Webpack compilation and prepares the app's App_Resources and the plugins platforms directories in your NativeScript project. The output is generated in a subdirectory for the selected target platform in the platforms directory. This lets you build the project for the selected platform." arguments: - name: platform description: The name of the platform. E.g. ios, android, etc. diff --git a/specs/nativescript/remove_platform.yaml b/specs/nativescript/remove_platform.yaml index 4de451d..993124b 100644 --- a/specs/nativescript/remove_platform.yaml +++ b/specs/nativescript/remove_platform.yaml @@ -1,10 +1,10 @@ -name: Remove the selected platform from the project. +name: Remove the selected platform from your NativeScript project. command: "ns platform remove {{platform}}" tags: - ns - tns - nativescript -description: "Removes the selected platform from the platforms that the project currently targets. After removing the target platform, you can no longer build and deploy your app on devices which run on the platform." +description: "Removes the selected platform from the platforms that your NativeScript project currently targets. After removing the target platform, you can no longer build and deploy your app on devices which run on the platform." arguments: - name: platform description: The name of the platform. E.g. ios, android, etc. diff --git a/specs/nativescript/run_project_on_device.yaml b/specs/nativescript/run_project_on_device.yaml index 1110748..27e6a8f 100644 --- a/specs/nativescript/run_project_on_device.yaml +++ b/specs/nativescript/run_project_on_device.yaml @@ -1,10 +1,10 @@ -name: Run the selected application on a connected device. +name: Run the selected NativeScript application on a connected device. command: "ns run {{application_id}}" tags: - ns - tns - nativescript -description: "Runs the selected application on a connected Android or iOS device." +description: "Runs the selected NativeScript application on a connected Android or iOS device." arguments: - name: application_id description: (Optional) It is the application identifier as listed by $ ns device list-applications. diff --git a/specs/nativescript/run_the_project.yaml b/specs/nativescript/run_the_project.yaml index a7a1932..82de671 100644 --- a/specs/nativescript/run_the_project.yaml +++ b/specs/nativescript/run_the_project.yaml @@ -1,10 +1,10 @@ -name: Run the project for Android or iOS. +name: Run the NativeScript project for Android or iOS. command: "ns run {{platform}}" tags: - ns - tns - nativescript -description: "Runs your project on all connected devices or in native emulators for the selected platform. The command will work with all currently running Android devices and emulators. The command will prepare, build and deploy the app when necessary. By default listens for changes in your code, synchronizes those changes and refreshes all selected devices." +description: "Runs your NativeScript project on all connected devices or in native emulators for the selected platform. The command will work with all currently running Android devices and emulators. The command will prepare, build and deploy the app when necessary. By default listens for changes in your code, synchronizes those changes and refreshes all selected devices." arguments: - name: platform description: The name of the platform. E.g. ios, android, etc. diff --git a/specs/nativescript/run_unit_tests.yaml b/specs/nativescript/run_unit_tests.yaml index 9a50f70..f09f69b 100644 --- a/specs/nativescript/run_unit_tests.yaml +++ b/specs/nativescript/run_unit_tests.yaml @@ -1,10 +1,10 @@ -name: Run unit tests. +name: Run unit tests on your NativeScript project. command: "ns test {{platform}}" tags: - ns - tns - nativescript -description: "Runs unit tests on the selected mobile platform. Your project must already be configured for unit testing by running $ ns test init." +description: "Runs unit tests on the selected mobile platform. Your NativeScript project must already be configured for unit testing by running $ ns test init." arguments: - name: platform description: The name of the platform. E.g. ios, android, etc. diff --git a/specs/nativescript/show_current_package_manager.yaml b/specs/nativescript/show_current_package_manager.yaml index 5567342..55af5ee 100644 --- a/specs/nativescript/show_current_package_manager.yaml +++ b/specs/nativescript/show_current_package_manager.yaml @@ -1,10 +1,10 @@ -name: Show current package manager. +name: Show current package manager using NativeScript CLI. command: "ns package-manager" tags: - ns - tns - nativescript -description: "Prints the value of the current package manager." +description: "NativeScript prints the value of the current package manager." source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/package-manager.md" author: erodriguezh author_url: "https://github.com/erodriguezh" diff --git a/specs/nativescript/show_help_about_the_commands_in_the_browser.yaml b/specs/nativescript/show_help_about_the_commands_in_the_browser.yaml index 7351aaa..c571ddc 100644 --- a/specs/nativescript/show_help_about_the_commands_in_the_browser.yaml +++ b/specs/nativescript/show_help_about_the_commands_in_the_browser.yaml @@ -1,10 +1,10 @@ -name: Show information about the commands in the browser. +name: Show information about the NativeScript CLI commands in the browser. command: "ns help {{command}}" tags: - ns - tns - nativescript -description: "Shows additional information about the commands in this list in the browser." +description: "Shows additional information about the NativeScript CLI commands in this list in the browser." arguments: - name: command description: The name of the command in the list. diff --git a/specs/nativescript/update_nativescript_dependencies_to_the_latest_version.yaml b/specs/nativescript/update_nativescript_dependencies_to_the_latest_version.yaml index 7ee0771..7930e67 100644 --- a/specs/nativescript/update_nativescript_dependencies_to_the_latest_version.yaml +++ b/specs/nativescript/update_nativescript_dependencies_to_the_latest_version.yaml @@ -4,7 +4,7 @@ tags: - ns - tns - nativescript -description: "Updates the project with the latest versions of iOS/Android runtimes, cross-platform modules and "@nativescript/webpack"." +description: "Updates your NativeScript project with the latest versions of iOS/Android runtimes, cross-platform modules and "@nativescript/webpack"." arguments: - name: version description: (Optional) An existing version. E.g. 5.0.0, next (latest development release) diff --git a/specs/nativescript/update_resource.yaml b/specs/nativescript/update_resource.yaml index cede7a9..eb0e14d 100644 --- a/specs/nativescript/update_resource.yaml +++ b/specs/nativescript/update_resource.yaml @@ -1,10 +1,10 @@ -name: Update the App_Resources's folder structure. +name: Update the App_Resources's folder structure in your NativeScript project. command: "ns resources update {{platform}}" tags: - ns - tns - nativescript -description: "Updates the App_Resources/'s internal folder structure to conform to that of an Android Studio project." +description: "Updates the App_Resources/'s internal folder structure in your NativeScript project to conform to that of an Android Studio project." arguments: - name: platform description: Defaults to android. Running $ ns resources-update ios will have no effect. diff --git a/specs/nativescript/upload_project_to_itunes_connect .yaml b/specs/nativescript/upload_project_to_itunes_connect .yaml index d270c13..29d5b00 100644 --- a/specs/nativescript/upload_project_to_itunes_connect .yaml +++ b/specs/nativescript/upload_project_to_itunes_connect .yaml @@ -1,10 +1,10 @@ -name: Upload project to iTunes Connect. +name: Upload NativeScript project to iTunes Connect. command: "ns appstore upload {{apple_id}} {{password}} {{mobile_provisioning_profile_identifier}} {{code_sign_identity}}" tags: - ns - tns - nativescript -description: "Uploads project to iTunes Connect. The command either issues a production build and uploads it to iTunes Connect, or uses an already built package to upload." +description: "Uploads your NativeScript project to iTunes Connect. The command either issues a production build and uploads it to iTunes Connect, or uses an already built package to upload." arguments: - name: apple_id description: iTunes connect id. From dfca0b19ba7c0b04f07922cb6502fb477fb43c15 Mon Sep 17 00:00:00 2001 From: Eduardo Rodriguez Date: Thu, 14 Apr 2022 07:35:12 +0200 Subject: [PATCH 3/3] Remove conflicting double quotes --- .../update_nativescript_dependencies_to_the_latest_version.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/nativescript/update_nativescript_dependencies_to_the_latest_version.yaml b/specs/nativescript/update_nativescript_dependencies_to_the_latest_version.yaml index 7930e67..f070dfe 100644 --- a/specs/nativescript/update_nativescript_dependencies_to_the_latest_version.yaml +++ b/specs/nativescript/update_nativescript_dependencies_to_the_latest_version.yaml @@ -4,7 +4,7 @@ tags: - ns - tns - nativescript -description: "Updates your NativeScript project with the latest versions of iOS/Android runtimes, cross-platform modules and "@nativescript/webpack"." +description: "Updates your NativeScript project with the latest versions of iOS/Android runtimes, cross-platform modules and @nativescript/webpack." arguments: - name: version description: (Optional) An existing version. E.g. 5.0.0, next (latest development release)