Skip to content

Commit 1a12a37

Browse files
rkpattnaik780wtrocki
authored andcommitted
docs(context): improve help texts and add comments
1 parent 13e4900 commit 1a12a37

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

pkg/core/localize/locales/en/cmd/context.en.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@ one='Group, share and manage your rhoas services'
33

44
[context.cmd.longDescription]
55
one='''
6-
When working with RHOAS CLI, developers interact with the commands that are connecting directly to the service instance.
7-
At the time CLI commands can only connect to a single instance of the service.
8-
96
rhoas context commands allow developers to:
107
11-
* Group services into context that can be used with a number of CLI commands.
12-
* Manage different contexts by switching, listing and removing service contexts
8+
* Group services into contexts that can be used with a number of CLI commands.
9+
* Manage different service contexts by switching, listing and removing service contexts
1310
* Share context with others to use the same set of services
1411
* Generating configuration for connecting to the services from various platforms and tools
1512
'''
@@ -30,7 +27,7 @@ one='Set the current context'
3027

3128
[context.use.cmd.longDescription]
3229
one='''
33-
Select a context to be used as the current context.
30+
Select a service context to be used as the current context.
3431
When you set the context to be used, it is set as the current context for all service based commands.
3532
'''
3633

pkg/shared/profileutil/util.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
srsmgmtv1errors "github.com/redhat-developer/app-services-sdk-go/registrymgmt/apiv1/error"
1212
)
1313

14+
// ContextHandler is a type with methods to obtain service data from context
1415
type ContextHandler struct {
1516
Context *servicecontext.Context
1617
Localizer localize.Localizer

0 commit comments

Comments
 (0)