{"repo":"ndabAP/vue-command","free":true,"listed":false,"github":"https://github.com/ndabAP/vue-command","clone":"git clone https://github.com/ndabAP/vue-command.git","description":"A fully working, most feature-rich Vue.js terminal emulator","language":"Vue","stars":393,"topics":["vue","terminal","javascript","cmd","bash","vuejs","shell"],"license":"MIT","category":"cli-tools","readme_excerpt":"vue-command A fully working, most feature-rich Vue.js terminal emulator. See the demo and check the demo source code. In contrast to other terminal emulators, commands are not just mappings to strings but are native components with injectable environment variables. Features - Simple, yet extensible API - Supports asynchronous commands - Supports fullscreen mode - Customize the terminal with slots - Provide your own parser (falls back to simple one) - Multiline support (with \\\\ ) - Autocompletion resolver (with ↹ ) - Browse history (with ↑ / ↓ ) - Search history (with Ctrl + r ) - Provide your own event resolver to support additional keyboard events Installation Usage Let's start with a dead simple example. We want to send \"Hello world\" to stdout when entering hello-world . Now a more complex one. Let's assume we want to build the nano editor available in many shells. We inject terminal to make sure the editor is only visible when the terminal is in fullscreen mode and also a function called exit to tell the terminal that the command has been finished when the user enters Ctrl + x . Furthermore, we use setFullscreen to switch the terminal into fullscreen mode. Now the command has to return the component. Properties Some properties can be mutated by the terminal. Therefore, adding the v-model directive is required. Property Description Type Default value Required Two-way binding -------------------- ------------------------------------------- ---------- ------------------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/ndabAP","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ndabAP/vue-command/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}