GithubHelp home page GithubHelp logo

nnbnh / mk Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 41 KB

๐Ÿ“„ SuperB way to create new folders and files

License: GNU General Public License v3.0

Makefile 17.40% Shell 82.60%
cli terminal posix basher bpkg mkdir

mk's Introduction

MK

SuperB way to create new folders and files

License: GPL-3.0 Development completed

๐Ÿ’ก About

SuperB MK (a.k.a mk) is a SuperB files and folders creation tool written in portable sh inspired by Advanced New File.

๐Ÿš€ Setup

๐Ÿงพ Dependencies

๐Ÿ“ฅ Installation

๐Ÿ”ง Manually

Option 1: using curl

curl https://raw.githubusercontent.com/NNBnh/mk/main/bin/mk > ~/.local/bin/mk
chmod +x ~/.local/bin/mk

Option 2: using git

git clone https://github.com/NNBnh/mk.git ~/.local/share/mk
ln -s ~/.local/share/mk/bin/mk ~/.local/bin/mk

๐Ÿ“ฆ Package manager

For Arch-Linux base distro, install this AUR package:

paru -Sy superbfetch-git

For Bpkg user:

bpkg install NNBnh/mk

For Basher user:

basher install NNBnh/mk

Note If you can and want to port SuperB MK to other package managers, feel free to do so.

โŒจ๏ธ Usage

Run 'mk' in the terminal:

mk ITEMS

Examples:

mk file.txt folder/ {foo,bar}/{'hello world'/{1,2,3},test}

Result:

~/
โ”œโ”€ file.txt
โ”‚
โ”œโ”€ folder/
โ”‚
โ”œโ”€ foo/
โ”‚ โ”œโ”€ hello world/
โ”‚ โ”‚ โ”œโ”€ 1
โ”‚ โ”‚ โ”œโ”€ 2
โ”‚ โ”‚ โ””โ”€ 3
โ”‚ โ”‚
โ”‚ โ””โ”€ test
โ”‚
โ””โ”€ bar/
  โ”œโ”€ hello world/
  โ”‚ โ”œโ”€ 1
  โ”‚ โ”œโ”€ 2
  โ”‚ โ””โ”€ 3
  โ”‚
  โ””โ”€ test

๐Ÿ’Œ Credits

Special thanks to:






Made with โค๏ธ by NNB

Buy Me a Coffee

mk's People

Contributors

nnbnh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mk's Issues

Adding aur as a install option

Hi, what name sould i put it under?

  • It needs to end with -git
  • It cloud not be mk-git, but cloud be superbmk-git also planning to do it for more of these single file applications
    Waiting for your feedback

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.