Skip to content

Commit

Permalink
Merge pull request #3269 from cloudfoundry-incubator/cli-tidy
Browse files Browse the repository at this point in the history
Tidy up CLI login info
  • Loading branch information
nwmac authored Dec 7, 2018
2 parents c8e982f + 10fc40b commit 1732d73
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,22 @@ <h4>Getting Started</h4>
<app-code-block>cf api {{context.apiEndpoint || '[Cloud Foundry API endpoint]'}}</app-code-block>

<p>3. Login</p>
<app-code-block codeBlockStyle="pre" hideCopy="true"><pre>$ cf login
API endpoint: <b>{{context.apiEndpoint || '[Cloud Foundry API endpoint]'}}</b>
<app-code-block>cf login</app-code-block>
<p>Output</p>
<app-code-block codeBlockStyle="pre" hideCopy="true">
<pre>API endpoint: <b>{{context.apiEndpoint || '[Cloud Foundry API endpoint]'}}</b>

Email> {{context.username || '[username]'}}

Password> [password]
Authenticating...
<b>OK</b></pre></app-code-block>
<b>OK</b></pre>
</app-code-block>

<p>4. Target an org and space</p>
<app-code-block>cf target -o "{{context.orgName || '[organization name]'}}" -s "{{context.spaceName || '[space name]'}}"
</app-code-block>
</div>

<ng-content></ng-content>

</div>
</div>

0 comments on commit 1732d73

Please sign in to comment.