jsforce
Preparing search index...
registry/sfdx
SfdxRegistry
Class SfdxRegistry
Implements
Registry
Index
Constructors
constructor
Properties
_
cli
Path
_
default
Org
Info
_
org
Info
Map
_
org
List
Methods
_
build
Args
_
exec
Command
_
get
Org
Info
_
get
Org
List
_
memo
Org
Info
get
Client
Config
get
Client
Names
get
Connection
get
Connection
Config
get
Connection
Names
register
Client
Config
remove
Connection
Config
save
Connection
Config
set
Default
Connection
Constructors
constructor
new
SfdxRegistry
(
__namedParameters
:
{
cliPath
?:
string
}
)
:
SfdxRegistry
Parameters
__namedParameters
:
{
cliPath
?:
string
}
Returns
SfdxRegistry
Properties
_
cli
Path
_cliPath
:
string
|
undefined
_
default
Org
Info
_defaultOrgInfo
:
Promise
<
SfdxOrgInfo
>
|
undefined
_
org
Info
Map
_orgInfoMap
:
{
[
name
:
string
]:
Promise
<
SfdxOrgInfo
>
}
= {}
_
org
List
_orgList
:
Promise
<
SfdxOrgList
>
|
undefined
Methods
_
build
Args
_buildArgs
(
command
:
string
,
options
?:
{
[
option
:
string
]:
any
}
,
args
?:
string
[]
,
)
:
{
argv
:
string
[]
;
exe
:
string
}
Parameters
command
:
string
options
:
{
[
option
:
string
]:
any
}
= {}
args
:
string
[]
= []
Returns
{
argv
:
string
[]
;
exe
:
string
}
_
exec
Command
_execCommand
<
T
>
(
command
:
string
,
options
?:
{
[
option
:
string
]:
any
}
,
args
?:
string
[]
,
)
:
Promise
<
T
>
Type Parameters
T
Parameters
command
:
string
options
:
{
[
option
:
string
]:
any
}
= {}
args
:
string
[]
= []
Returns
Promise
<
T
>
_
get
Org
Info
_getOrgInfo
(
username
?:
string
)
:
Promise
<
SfdxOrgInfo
>
Parameters
Optional
username
:
string
Returns
Promise
<
SfdxOrgInfo
>
_
get
Org
List
_getOrgList
()
:
Promise
<
SfdxOrgList
>
Returns
Promise
<
SfdxOrgList
>
_
memo
Org
Info
_memoOrgInfo
(
pOrgInfo
:
Promise
<
SfdxOrgInfo
>
,
username
?:
string
)
:
void
Parameters
pOrgInfo
:
Promise
<
SfdxOrgInfo
>
Optional
username
:
string
Returns
void
get
Client
Config
getClientConfig
(
_name
:
string
)
:
Promise
<
null
>
Parameters
_name
:
string
Returns
Promise
<
null
>
get
Client
Names
getClientNames
()
:
Promise
<
never
[]
>
Returns
Promise
<
never
[]
>
get
Connection
getConnection
<
S
extends
Schema
=
Schema
>
(
name
?:
string
,
)
:
Promise
<
Connection
<
S
>
|
null
>
Type Parameters
S
extends
Schema
=
Schema
Parameters
Optional
name
:
string
Returns
Promise
<
Connection
<
S
>
|
null
>
get
Connection
Config
getConnectionConfig
(
name
?:
string
,
)
:
Promise
<
{
accessToken
:
string
;
instanceUrl
:
string
;
loginUrl
:
string
}
|
null
,
>
Parameters
Optional
name
:
string
Returns
Promise
<
{
accessToken
:
string
;
instanceUrl
:
string
;
loginUrl
:
string
}
|
null
>
get
Connection
Names
getConnectionNames
()
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
register
Client
Config
registerClientConfig
(
_name
:
string
,
_clientConfig
:
ClientConfig
)
:
Promise
<
void
>
Parameters
_name
:
string
_clientConfig
:
ClientConfig
Returns
Promise
<
void
>
remove
Connection
Config
removeConnectionConfig
(
name
:
string
)
:
Promise
<
void
>
Parameters
name
:
string
Returns
Promise
<
void
>
save
Connection
Config
saveConnectionConfig
(
_name
:
string
,
_connConfig
:
ConnectionConfig
,
)
:
Promise
<
void
>
Parameters
_name
:
string
_connConfig
:
ConnectionConfig
Returns
Promise
<
void
>
set
Default
Connection
setDefaultConnection
(
_name
:
string
)
:
Promise
<
void
>
Parameters
_name
:
string
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
cli
Path
_
default
Org
Info
_
org
Info
Map
_
org
List
Methods
_
build
Args
_
exec
Command
_
get
Org
Info
_
get
Org
List
_
memo
Org
Info
get
Client
Config
get
Client
Names
get
Connection
get
Connection
Config
get
Connection
Names
register
Client
Config
remove
Connection
Config
save
Connection
Config
set
Default
Connection
jsforce
Loading...