created ninja-log project in deno
This commit is contained in:
parent
b747431348
commit
37440d1a9f
5 changed files with 30 additions and 0 deletions
|
@ -12,5 +12,6 @@
|
||||||
## Code Gallery 💽
|
## Code Gallery 💽
|
||||||
|
|
||||||
1. [`sensei-grading-bookmarklet`](sensei-grading-bookmarklet)
|
1. [`sensei-grading-bookmarklet`](sensei-grading-bookmarklet)
|
||||||
|
1. [`ninja-logs`](ninja-logs)
|
||||||
|
|
||||||
[codeninjas_home]: https://www.codeninjas.com/
|
[codeninjas_home]: https://www.codeninjas.com/
|
||||||
|
|
5
ninja-logs/.vscode/settings.json
vendored
Normal file
5
ninja-logs/.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"editor.defaultFormatter": "denoland.vscode-deno",
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"deno.enable": true
|
||||||
|
}
|
7
ninja-logs/README.md
Normal file
7
ninja-logs/README.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# `ninja-logs`
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```sh
|
||||||
|
deno install https://github.com/EthanThatOneKid/code-sensei/main/blob/ninja-logs/mod.ts
|
||||||
|
```
|
16
ninja-logs/nl.ts
Normal file
16
ninja-logs/nl.ts
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
// filename: "nl"
|
||||||
|
// `nl` is short for "Ninja Logs"
|
||||||
|
|
||||||
|
import { Command } from "https://deno.land/x/cliffy@v0.17.2/command/mod.ts";
|
||||||
|
|
||||||
|
const main = async () => {
|
||||||
|
await new Command()
|
||||||
|
.name("nl")
|
||||||
|
.version("0.0.1")
|
||||||
|
.description("Command line interface for Deno")
|
||||||
|
.parse(Deno.args);
|
||||||
|
};
|
||||||
|
|
||||||
|
if (import.meta.main) {
|
||||||
|
await main();
|
||||||
|
}
|
1
ninja-logs/templates/white/coconut-chaos.md
Normal file
1
ninja-logs/templates/white/coconut-chaos.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Coconut chaos is awesome.
|
Reference in a new issue