@hashgraph/solo
Preparing search index...
src/core/package-managers/package-manager
PackageManager
Interface PackageManager
interface
PackageManager
{
install
()
:
Promise
<
boolean
>
;
installPackages
(
dependencies
:
string
[]
)
:
Promise
<
void
>
;
isAvailable
()
:
Promise
<
boolean
>
;
run
(
cmd
:
string
,
arguments_
:
string
[]
,
verbose
:
boolean
,
detached
:
boolean
,
)
:
Promise
<
string
[]
>
;
uninstall
()
:
Promise
<
void
>
;
uninstallPackages
(
dependencies
:
string
[]
)
:
Promise
<
void
>
;
update
()
:
Promise
<
void
>
;
upgrade
(
dependencies
:
string
[]
)
:
Promise
<
void
>
;
}
Implemented by
AptGetPackageManager
BrewPackageManager
Index
Methods
install
install
Packages
is
Available
run
uninstall
uninstall
Packages
update
upgrade
Methods
install
install
()
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
install
Packages
installPackages
(
dependencies
:
string
[]
)
:
Promise
<
void
>
Parameters
dependencies
:
string
[]
Returns
Promise
<
void
>
is
Available
isAvailable
()
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
run
run
(
cmd
:
string
,
arguments_
:
string
[]
,
verbose
:
boolean
,
detached
:
boolean
,
)
:
Promise
<
string
[]
>
Parameters
cmd
:
string
arguments_
:
string
[]
verbose
:
boolean
detached
:
boolean
Returns
Promise
<
string
[]
>
uninstall
uninstall
()
:
Promise
<
void
>
Returns
Promise
<
void
>
uninstall
Packages
uninstallPackages
(
dependencies
:
string
[]
)
:
Promise
<
void
>
Parameters
dependencies
:
string
[]
Returns
Promise
<
void
>
update
update
()
:
Promise
<
void
>
Returns
Promise
<
void
>
upgrade
upgrade
(
dependencies
:
string
[]
)
:
Promise
<
void
>
Parameters
dependencies
:
string
[]
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
install
install
Packages
is
Available
run
uninstall
uninstall
Packages
update
upgrade
@hashgraph/solo
Loading...