Preparing search index...
The search index is not available
Documentation
Documentation
@fadroma/create
ProjectPrompter
Class ProjectPrompter
Hierarchy
Prompter
ProjectPrompter
Index
Constructors
constructor
Properties
interactive
prompts
Methods
compile
Mode
contract
Crates
define
Contract
deployment
project
Mode
project
Name
project
Root
rename
Contract
select
text
undefine
Contract
until
Done
Constructors
constructor
new
Project
Prompter
(
prompts
?
,
interactive
?
)
:
ProjectPrompter
Parameters
prompts
:
{
prompt
:
any
;
}
= Prompts
prompt
:
any
interactive
:
boolean
= true
Returns
ProjectPrompter
Properties
interactive
interactive
:
boolean
= true
prompts
prompts
:
{
prompt
:
any
;
}
= Prompts
Type declaration
prompt
:
any
Methods
compile
Mode
compile
Mode
(
__namedParameters
?
,
prompts
?
)
:
Promise
<
"docker"
|
"podman"
|
"raw"
>
Parameters
__namedParameters
:
Partial
<
SystemTools
>
= {}
prompts
:
{
prompt
:
any
;
}
= Prompts
prompt
:
any
Returns
Promise
<
"docker"
|
"podman"
|
"raw"
>
contract
Crates
contract
Crates
(
name
)
:
Promise
<
Record
<
string
,
Partial
<
UploadedCode
>
>
>
Parameters
name
:
string
Returns
Promise
<
Record
<
string
,
Partial
<
UploadedCode
>
>
>
define
Contract
define
Contract
(
state
)
:
Promise
<
void
>
Parameters
state
:
Record
<
string
,
any
>
Returns
Promise
<
void
>
deployment
deployment
(
store
)
:
Promise
<
string
>
Parameters
store
:
DeployStore
&
{
root
?:
Path
;
}
Returns
Promise
<
string
>
project
Mode
project
Mode
(
prompts
?
)
:
Promise
<
number
>
Parameters
prompts
:
typeof
prompts
= Prompts
Returns
Promise
<
number
>
project
Name
project
Name
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
project
Root
project
Root
(
name
)
:
Promise
<
Path
>
Parameters
name
:
string
|
Promise
<
string
>
Returns
Promise
<
Path
>
rename
Contract
rename
Contract
(
state
)
:
Promise
<
void
>
Parameters
state
:
Record
<
string
,
any
>
Returns
Promise
<
void
>
select
select
<
T
>
(
message
,
choices
)
:
Promise
<
any
>
Type Parameters
T
Parameters
message
:
string
choices
:
T
[]
Returns
Promise
<
any
>
text
text
<
T
>
(
message
,
__namedParameters
?
)
:
Promise
<
string
>
Type Parameters
T
Parameters
message
:
string
__namedParameters
:
{
clean
?:
(
(
x
)
=>
string
)
;
valid
?:
(
(
x
)
=>
boolean
)
;
}
= {}
Optional
clean
?:
(
(
x
)
=>
string
)
(
x
)
:
string
Parameters
x
:
string
Returns
string
Optional
valid
?:
(
(
x
)
=>
boolean
)
(
x
)
:
boolean
Parameters
x
:
string
Returns
boolean
Returns
Promise
<
string
>
undefine
Contract
undefine
Contract
(
state
)
:
Promise
<
void
>
Parameters
state
:
Record
<
string
,
any
>
Returns
Promise
<
void
>
until
Done
until
Done
<
S
>
(
state
,
selector
)
:
Promise
<
S
>
Type Parameters
S
Parameters
state
:
S
selector
:
(
(
state
)
=>
Function
|
Promise
<
Function
>
)
(
state
)
:
Function
|
Promise
<
Function
>
Parameters
state
:
S
Returns
Function
|
Promise
<
Function
>
Returns
Promise
<
S
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
interactive
prompts
compile
Mode
contract
Crates
define
Contract
deployment
project
Mode
project
Name
project
Root
rename
Contract
select
text
undefine
Contract
until
Done
Documentation
@fadroma
agent
scrt
cw
oci
create
compile
devnet
@hackbg
ganesha
ensuite
cmds
conf
file
logs
oops
port
repo
CosmJS-ESM Documentation
SecretJS-ESM Docs
Loading...
Generated using
TypeDoc