Ver em Português
Basic command line interface for Windows. So you can use the Visual Studio Code terminal to update your bot on Discloud
_
If you are using PowerShell on Windows 10, version 1803 or later, your operating system is already fully compatible with Discloud Bash
For Discloud Bash to work you need to create a file called discloud.txt in your application's directory, where you will add the Token to access the discloud api and your bot ID.
It is important to respect the standard in which the data is placed from the txt file
The fastest way to use DisCloud Bash is to open your VScode in your Bot folder and create a file called commit.bat, then paste this content here and save.
Once you have done that you can run the command using
./commit.bator./commit.bat FolderNamein your VScode terminal and the files will be sent to the bot that has the data indiscloud.txt
--
Now if you want to install the Script globally on your windows the process will be a little different:
First download the install-en.bat program and run it on your machine.
After the process, access the C:\Discloud folder, create a file called discloud.bat and put this code here inside and save correctly.
At the moment we only have the commit command available in our application.
- Command structure:
Here
<arguments>are optional, while[commands]are mandatory.
discloud [command] <argument>
In the case of the commit, the
<arguments>would be the name of the folder or file, but you can leave it empty for the commit to send the files from the root where the command is executed
discloud commit FolderName
discloud commit
Developed with ❤️ by Pedro Ricardo 😊






