---
title: "Discussion on \"Extending the deno cli using a shell function\" | Hashnode"
description: "Discussion on \"Extending the deno cli using a shell function\". I've been using deno more and more these days and I must tell you they are still things that bug me. But I did manage to solve some of those problems by \"adding\" some sub-commands to the cli. No, it's not dark magic, it's just a trick that I learned ..."
url: "https://hashnode.com/posts/extending-the-deno-cli-using-a-shell-function/60815b47ff5fc65284a75c40"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Extending the deno cli using a shell function](https://vonheikemen.hashnode.dev/extending-the-deno-cli-using-a-shell-function?utm_source=hashnode&utm_medium=feed)

I've been using deno more and more these days and I must tell you they are still things that bug me. But I did manage to solve some of those problems by "adding" some sub-commands to the cli. No, it's not dark magic, it's just a trick that I learned ...

Apr 22, 2021 · 7 min read · vonheikemen.hashnode.dev  
Read the article

-   [#shell](https://hashnode.com/tag/shell)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Heiker](https://hashnode.com/@vonheikemen)

@vonheikemen

  
[View profile](https://hashnode.com/@vonheikemen)

I will code for food

## Responses 2

Markdown supported · ⌘↵ to post

[Otis Jame](https://hashnode.com/@otis123)

[Apr 19, 2024](https://hashnode.com/posts/extending-the-deno-cli-using-a-shell-function/60815b47ff5fc65284a75c40/comment/6621dbce4b175b3e4f9667d1)

Using [Geometry Dash](https://geometrydash3d.io/) POSIX-compliant syntax ensures compatibility across different shells, which is important for sharing your solution with others.

[Brush Jjaemu](https://hashnode.com/@sarausa)

[Feb 20, 2024](https://hashnode.com/posts/extending-the-deno-cli-using-a-shell-function/60815b47ff5fc65284a75c40/comment/65d4538372c9abf36e99d672)

I really like the information you share. Thanks to that, I know many more interesting and useful things. [Suika game](https://suikagame.io/)

[Mari Kara](https://hashnode.com/@karausa)

[Jul 15, 2023](https://hashnode.com/posts/extending-the-deno-cli-using-a-shell-function/60815b47ff5fc65284a75c40/comment/64b207ef0470cd817f0dd2ea)

To extend the Deno CLI with a shell function, you can use the Deno.run() module in the Deno Runtime to execute shell commands. [slope](https://slope3d.org/)

[Lily Collins](https://hashnode.com/@lilycollins34)

[Dec 23, 2022](https://hashnode.com/posts/extending-the-deno-cli-using-a-shell-function/60815b47ff5fc65284a75c40/comment/63a5109c3916c9c9a801ea2f)

All of these methods are [bitlife](https://bitlifeonline.com/) effective and can be used to extend the deno cli by adding new keywords to the deno cli.
