UNPKG
detect-shells
Version:
latest (3.0.0)
3.0.0
2.0.0
1.0.0
0.0.4
0.0.3
0.0.2
0.0.1
Detect shells installed on a system
github.com/Subash/detect-shells
Subash/detect-shells
detect-shells
/
lib
/
index.d.ts
5 lines
(4 loc)
•
239 B
TypeScript
View Raw
1
2
3
4
5
import
{
FoundShell
}
from
'./shells/shared'
;
export
declare
type
Shell
=
FoundShell
;
export
declare
function
launchShell
(
shell
:
Shell
,
path
:
string
):
Promise
<
void
>;
export
declare
function
getAvailableShells
(
):
Promise
<
readonly
Shell
[]>;