Skip to content

Commit 55f4350

Browse files
authored
Merge branch 'main' into patch-1
2 parents c04dce7 + 37bc41b commit 55f4350

36 files changed

Lines changed: 400 additions & 1 deletion

specs/file_manipulation/recursively_find_and_replace_within_a_directory.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Recursively find and replace within a directory
3-
command: "grep -rl {{old_text}} {{file_path}} | xargs sed -i 's/{{old_text}}/{{new_text}}/g'"
3+
command: "grep -rl {{old_text}} {{file_path}} | xargs sed -i '' 's/{{old_text}}/{{new_text}}/g'"
44
tags:
55
- file manipulation
66
- sed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Configure your current NativeScript project to target the selected platform.
2+
command: "ns platform add {{platform}}"
3+
tags:
4+
- nativescript
5+
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."
6+
arguments:
7+
- name: platform
8+
description: The name of the platform. E.g. ios, android, etc.
9+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/configuration/platform-add.md"
10+
author: erodriguezh
11+
author_url: "https://github.com/erodriguezh"
12+
shells: []
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Build your NativeScript project for Android or iOS.
2+
command: "ns build {{platform}}"
3+
tags:
4+
- nativescript
5+
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."
6+
arguments:
7+
- name: platform
8+
description: The name of the platform. E.g. ios, android, etc.
9+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/testing/build.md"
10+
author: erodriguezh
11+
author_url: "https://github.com/erodriguezh"
12+
shells: []
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Check Nativescript system's configuration.
2+
command: "ns doctor {{platform}}"
3+
tags:
4+
- nativescript
5+
description: "Checks your system for configuration problems which might prevent the NativeScript CLI from working properly for the specified platform, if configured."
6+
arguments:
7+
- name: platform
8+
description: The name of the platform. E.g. ios, android, etc.
9+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/doctor.md"
10+
author: erodriguezh
11+
author_url: "https://github.com/erodriguezh"
12+
shells: []
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Clean your NativeScript project artifacts.
2+
command: "ns clean"
3+
tags:
4+
- nativescript
5+
description: "Cleans your NativeScript project artifacts."
6+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/clean.md"
7+
author: erodriguezh
8+
author_url: "https://github.com/erodriguezh"
9+
shells: []
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Configure NativeScript CLI error reporting.
2+
command: "ns error-reporting"
3+
tags:
4+
- nativescript
5+
description: "Configures anonymous error reporting for the NativeScript CLI."
6+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/error-reporting.md"
7+
author: erodriguezh
8+
author_url: "https://github.com/erodriguezh"
9+
shells: []
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Configure NativeScript command-line autocompletion.
2+
command: "ns autocomplete {{command}}"
3+
tags:
4+
- nativescript
5+
description: "Prints your current NativeScript command-line completion settings. If disabled, prompts you to enable it."
6+
arguments:
7+
- name: command
8+
description: options are status, enable, disable.
9+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/autocomplete.md"
10+
author: erodriguezh
11+
author_url: "https://github.com/erodriguezh"
12+
shells: []
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Configures your NativeScript project for unit testing with a selected framework.
2+
command: "ns test init {{framework}}"
3+
tags:
4+
- nativescript
5+
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."
6+
arguments:
7+
- name: framework
8+
description: The following frameworks are available - mocha, jasmine and qunit.
9+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/testing/test-init.md"
10+
author: erodriguezh
11+
author_url: "https://github.com/erodriguezh"
12+
shells: []
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Configure NativeScript CLI usage reporting.
2+
command: "ns usage-reporting"
3+
tags:
4+
- nativescript
5+
description: "Configures anonymous usage reporting for the NativeScript CLI."
6+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/general/usage-reporting.md"
7+
author: erodriguezh
8+
author_url: "https://github.com/erodriguezh"
9+
shells: []
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Create a NativeScript app.
2+
command: "ns create {{app_name}}"
3+
tags:
4+
- nativescript
5+
description: "Interactively creates a new NativeScript app based on a predefined template."
6+
arguments:
7+
- name: app_name
8+
description: The name of project and must meet the requirements of each platform that you want to target.
9+
source_url: "https://github.com/NativeScript/nativescript-cli/blob/master/docs/man_pages/project/creation/create.md"
10+
author: erodriguezh
11+
author_url: "https://github.com/erodriguezh"
12+
shells: []

0 commit comments

Comments
 (0)