Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Latest commit

 

History

History

repl

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@atlas.js/repl

This package contains an action which allows you to drop into an interactive shell (REPL) with the application exposed as atlas on the console.

Usage

import { Atlas } from '@atlas.js/atlas'
import { Action as Repl } from '@atlas.js/repl'

atlas.action('repl', Repl)
await atlas.prepare() // or atlas.start(), up to you
// Drop into REPL! 🚀
// Just hit ctrl+c to quit escape from the prompt
await atlas.actions.repl.enter()

License

See the LICENSE file for information.