Skip to content

Commit

Permalink
fix(Migration developer): Moved the content in the nav tree
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaenam committed Apr 19, 2024
1 parent 8540295 commit a7e4c9e
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 76 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 'New Relic One CLI common commands'
title: 'Common commands'
tags:
- New Relic One CLI
- Common commands
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 'New Relic One CLI config commands'
title: 'Config commands'
tags:
- New Relic One CLI
- Config commands
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 'New Relic One CLI Nerdpack commands'
title: 'Nerdpack commands'
tags:
- New Relic One CLI
- Nerdpack commands
Expand Down Expand Up @@ -34,7 +34,7 @@ Use the commands below to set up your Nerdpacks. You can click on any command to
[`nr1 nerdpack:clean`](#nr1-nerdpackclean)
</td>
<td>
Removes all built artifacts
Removes all built artifacts.
</td>
</tr>
<tr>
Expand Down Expand Up @@ -105,9 +105,6 @@ Use the commands below to set up your Nerdpacks. You can click on any command to
</table>


# Command details [#command-details]


## `nr1 nerdpack:build` [#nerdpack-build]

Builds a nerdpack.
Expand Down Expand Up @@ -400,7 +397,7 @@ nr1 nerdpack:publish
`--verbose`
</td>
<td>
Adds extra information to the output |
Adds extra information to the output.
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -527,7 +524,7 @@ $ nr1 nerdpack:deploy

## `nr1 nerdpack:untag` [#nerdpack-untag]

Removes a tag from the registry
Removes a tag from the registry.

### Usage [#untag-usage]

Expand Down Expand Up @@ -599,17 +596,16 @@ nr1 nerdpack:uuid
### Options [#uuid-options]

<table>
<thead>

<tbody>
<tr>
<th>
`-f`, `--force`
</th>
<th>
<td>
`-f`, `--force`
</td>
<td>
If present, it will override the existing UUID without asking.
</th>
</td>
</tr>
</thead>
<tbody>
<tr>
<td>
`-g`, `--generate`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: New Relic One CLI overview
title: New Relic One CLI commands
tags:
- New Relic One CLI
metaDescription: "An overview of the CLI to help you build, deploy, and manage New Relic apps."
Expand All @@ -11,44 +11,6 @@ import buildNR from 'images/buildNR_screenshot-full_build-on-nr.webp'

Let's build together. With New Relic One, you can build your own components, like apps, and custom visualizations. You can also check out our quick starts and pre-built examples. Create powerful visualizations and add them to your dashboards to see all your data in one place.

To build a New Relic app, you need to [install the New Relic One CLI](#install-nr-one-cli). The CLI helps you build, publish, and manage your New Relic app. This page is about the use of [CLI commands](##nr-one-cli-commands) that you can use:

- Generate Nerdpack and Nerdlet templates.

- Locally serve Nerdpacks when developing.

- Publish and deploy.

- Subscribe to Nerdpacks.

- Add screenshots and metadata to the catalog.


## Installing the New Relic One CLI [#install-nr-one-cli]

To install the New Relic One CLI follow these instructions:

1. Go to New Relic to open the [Build on New Relic](https://one.newrelic.com/launcher/developer-center.launcher) page.

<img
title="Build on New Relic"
alt="Build on New Relic"
src={buildNR}
/>

2. Follow the quick start instructions.

The quick start generates an API key for your chosen account. It provides pre-populated commands to create a profile, build your first `Hello World` app, and deploy it locally. This simplifies the process and saves you time. You can get started quickly without having to set everything up manually. Just follow the steps provided and you'll be up and running in no time.


<Callout variant="tip">

Use the [New Relic One VS Code extension](https://marketplace.visualstudio.com/items?itemName=new-relic.nr1) to build your apps.

</Callout>

## New Relic One CLI commands [#nr-one-cli-commands]

The following tables describe New Relic app commands. Click on a command for more details on usage and options.

### Get started commands [#get-started]
Expand Down
15 changes: 15 additions & 0 deletions src/nav/new-relic-solutions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,21 @@ pages:
pages:
- title: New Relic CLI
path: /docs/new-relic-solutions/tutorials/new-relic-cli
- title: New Relic One CLI commands
path: /docs/new-relic-solutions/build-nr-ui/nr1-cli
pages:
- title: Common commands
path: /docs/new-relic-solutions/build-nr-ui/nr1-cli/nr1-common
- title: Config commands
path: /docs/new-relic-solutions/build-nr-ui/nr1-cli/nr1-config
- title: Nerdpack commands
path: /docs/new-relic-solutions/build-nr-ui/nr1-cli/nr1-nerdpack
- title: Subscription commands
path: /docs/new-relic-solutions/build-nr-ui/nr1-cli/nr1-subscription
- title: Plugin commands
path: /docs/new-relic-solutions/build-nr-ui/nr1-cli/nr1-plugins
- title: Catalog commands
path: /docs/new-relic-solutions/build-nr-ui/nr1-cli/nr1-catalog
- title: Build your own New Relic apps
path: /docs/new-relic-solutions/new-relic-one/build-custom-new-relic-one-application
- title: Create a "Hello, World!" app in New Relic
Expand Down
20 changes: 0 additions & 20 deletions src/nav/tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,6 @@ pages:
- title: Explore our tutorials
label: Recommended
path: /docs/new-relic-solutions/tutorial-landing-page
- title: Build on New Relic UI
pages:
- title: Overview of development resources
path: /docs/new-relic-solutions/build-nr-ui/overview
- title: New Relic One CLI
pages:
- title: Overview
path: /docs/new-relic-solutions/build-nr-ui/nr1-cli/overview
- title: Common commands
path: /docs/new-relic-solutions/build-nr-ui/nr1-cli/nr1-common
- title: Config commands
path: /docs/new-relic-solutions/build-nr-ui/nr1-cli/nr1-config
- title: Nerdpack commands
path: /docs/new-relic-solutions/build-nr-ui/nr1-cli/nr1-nerdpack
- title: Subscription commands
path: /docs/new-relic-solutions/build-nr-ui/nr1-cli/nr1-subscription
- title: Plugin commands
path: /docs/new-relic-solutions/build-nr-ui/nr1-cli/nr1-plugins
- title: Catalog commands
path: /docs/new-relic-solutions/build-nr-ui/nr1-cli/nr1-catalog
- title: My app is slow
pages:
- title: 1. Prepare to triage your application
Expand Down

0 comments on commit a7e4c9e

Please sign in to comment.