Releases: KhiemLikestoProgram/Terminals
m6y22-alpha-1.8
NOTE: Last update before official release.
Test Alpha 1.8.0
This is version 1.8.0.
RELEASE Alpha 1.8.0 (on June 28/06/2022)
I fixed a little bit of error. Motivation is not good.
New features
- Added
worldroute for getting countries' info. - Added
__variables__.pyand__world__.pyto shorten the main script. - Oh and also, you may download the theme I'm currently using or not.
Changes
Nah bro
world route
This is an in-dev feature.
Also the chat command don't work is because I don't learn Python enough.
return OKBYE!
m6y22-alpha-1.7.1
You know what? No more cutting the mylib file! It could be used for multiple CLI applications. (Sorry for bad grammar.)
Debug Alpha 1.7.1
This is version 1.7.1.
DEBUG RELEASE Alpha 1.7.1 (on June 26, 2022)
I fixed abunchobugs in the shell. Also I added help command for helping users.
New features
- Added
helpcommand for helping users. - Not related / Completely revamped the folder
kshelland adding more files. - Added error count to keep track of how many errors I and you have made (also counts debug errors).
- Added a post scene (which you can't turn off 😈)
- Added (not actually an easter egg) a secret feature.
Changes
- Reworked on the KeyboardInterrupt phrase.
No new big features because this is a debug update.
NOTE: Download
kshell_zip.zipto download the elegant zip file. Download every file but not that will download the kShell program.
m6y22-alpha-1.6
Test Alpha 1.6
This is version 1.6.0.
RELEASE Alpha 1.6 (on June 17th, 2022)
I fixed some bugs for the new directory system. Also I add more functions, custom commands and todos!
New features
- Added custom commands feature.
- Added more documentation.
- Added
chrandordcommands for return characters from code and getting the character's code. - Added
rld/reloadcommands for reloading the file (actually not, it's like running on another level.) - Added
snd/soundcommand for playing sounds. - Added
opencommand for open files and websites. - Added
treecommand for viewing directories (in-dev) - Added
lscommand for viewing current directory's children. - Added
..and...for moving back 1 and 2 generations, respectively. In the beginning, I choose.and..but then I search and OS shells use..for moving back 1 generation. So I added...to move 2 gen. But no more than that. - Added
rd/randomcommand for generate random types. - Added
keditorcommand for an editor. (in-dev) - Added
todocommand for creating todos. - When you presses Ctrl+C, it will exit and not raise a Python KeyboardInterupt exception.
- Placeholder/The data is now cut into a seperate file. (still
data.json)
Changes
No changes were made.
Custom commands
I added a feature when you put a custom command object in the kshell::command part and rerun the program, it will understand the command.
Also in there I have read and write functions there, but only read works. (in-dev)
If you want to add, here's how:
Go to data.json then at the kshell::commands part, write this:
"your_custom_functions": {
"description": "your description",
"require": "python_version",
"code": ["python code here","line 2","line 3",etc.] or a string
"support": ["supported file types"] // for interact with files only
}
To-dos
This is currently in development so I can't show you all.
How to save to data.json file:
- Type
todo, type the todo's name, type its options, then pressEnter. EX:todo todosample a_banana a_lemon - Press
Enterto change the items' states, presswandsfor moving up and down.
> Bye! See ya later!
m6y22-alpha-1.7
Test Alpha 1.7
This is version 1.7.0.
RELEASE Alpha 1.7 (on June 24th, 2022) (my bd is tomorrow omg)
I fixed more bugs in the shell. And also I move all my files into a folder. And also I create a new json file in it. And also I added packages!
New features
- Added 2 more settings:
bg_musicandshow_localtimefor background music and show your local time. You can modify it (bg_music=> path,show_localtime=> formatted str forstrftime()to create a time string - Added 2 handling errors:
[CONFIG_ERROR]and[DEBUG_ERROR]. If you see a[DEBUG_ERROR]or a Python exception, then report it at the issues tab. - Added routes (it's like git branches, but actually isn't).
- Reformatted the prompt and add a username.
- Added global-scope
usernamecommand for changing the username. - Added global-scope
pkg/packagescommand for listing all of the packages. - Move the
cdandlscommand to global-scope - The program now knows what is built-in and what is created by / made by the user. (built-in is in
data.json, user-defined can be indata.jsonto mark it as a built-in, orpackages.jsonto mark it as a user-defined. - Added route-scope
sudo/linux/macintosh/unixinmainroute which will make the shell says [REDACTED].
NOTE: All the notes down here are in
mainroute:
- Added
games/kgamescommand for the games I've make. - Added
@command for getting the author's Discord name (me), and getting the current user's name. - Added
pkg/packagecommand for using the package without changing routes. - Added
lab/experimental/expcommand for even mORe cOnvEnIeNCe.
NOTE: In the built-in package
lab, there is three commands. (of course no more description)
Changes
- Changed the input receive method (you don't need to know this).
Packages
I added a feature when you put a custom object in kshell::builtin_packages part or kshell::__packages__ and rerun the program, it will use it to create a new route (in-dev).
Also in there I have test_v1.0 & undertale and lab packages.
How to add:
"package_name": {
"description": "your description",
"custom commands in your package": {
"code": "python code"
}
}
> OK BYE!
m6y22-alpha-1.5
Test Alpha 1.5
I release this version early because I'm quite busy (13/6 -> Alpha 1.5.1) Sorry for late, I'm busy in other things, too.
RELEASE Alpha 1.5 (on June 11th, 2022)
I added & finished a new directory system (but it's kinda "fake" and you can't actually create file in that directory, you can only move around)
- New features:
- Change prompt name to a directory location
- Added
qclscommand (Clears the screen before exiting kShell) - Added
incommand (Get users input with two modes-spl/splitand-f/full):-spl/split: Return answer in a list delimited by [argument 3] (IN[1]: bla bla bla;IN[2]: bla ble bli; etc.)-f/full: Return answer in a full string. (IN: bla bla bla bla ble bli; etc.)
- Added
-cparameter (Get real current directory)
- Changes:
- Change command back to standard (sans barres obliques)
*willdoindafuture: (i promise)
- Sorted the dictionaries in kshell
- Cut the mylib file so it fits and not thicker as I added more functions (because it's my personal standard library [omg very cringe])
NOTE: If you want to create a new directory name system and not mine, add your json file into... a folder name 'custom' (you can change the source code to using any folder name or not even using one at all, if you want to) and name it
data.json, in there, write this:
{
"kshell.py":
{
*your custom directory name system here*
}
}
If you're advanced, you can also modify the code so it runs differently.
m6y22-alpha-1.4.1
Test Alpha 1.4.1
- Rework the shell [20%]
- New features:
- Chatting using sockets (in-dev)
- Added
echocommand.
- Changes:
- Using commands like in minecraft (
/command) - Shell's prompt is now a directory and not
name@hostanymore. (wanna see the old one? then check outm6y22-alpha-1.4.0version or older)
- Next version in 13/6
m6y22-alpha-1.4.0
Test Alpha 1.4.0
- New features:
- Shorten commands
- Fix (but not completely) the code command (not recommended to use)
- Can quit at the "Choose a method" menu
- Next version in 10/06/2022
m6y22-alpha-1.3.5
Initial release
This is kShell version Alpha 1.3.5. All previous versions are not available and you'll never know them.
Also, check out my cousin https://github.com/Imtryingtolearnpython.
Or click on @Imtryintolearnpython.
print(OKBYE)