Skip to content
/ kode Public

A simple bash script to Add a shebang (if required) Add an informative header Add code template (can be toggled) Make file executable Update last updated column

License

Notifications You must be signed in to change notification settings

laraib07/kode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kode

A simple bash script to

  • Add a shebang (if required)
  • Add an info header
  • Add code template (can be toggled)
  • Make file executable
  • Update last modified column of info header

Supported languages : bash, c, c++, c#, css, java, javascript, perl, php, python, ruby, rust, swift, typescript.

preview.gif

Installation

apt update && apt upgrade -y
apt install git
  1. Clone this repo.
git clone https://github.com/laraib07/kode.git
  1. Give kode necessary permission.
chmod 755 kode
  1. Create a symlink of kode to bin folder.

For termux

ln -s $PWD/kode $PREFIX/bin/kode

for linux desktop

sudo ln -s $PWD/kode /usr/bin/kode
  1. To set author name

Necessary

kode -a name
  1. I keep imoroving this script. So to update go to kode folder and
git pull

Screenshots

preview1

preview2

About

A simple bash script to Add a shebang (if required) Add an informative header Add code template (can be toggled) Make file executable Update last updated column

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages