Fries
82e8f68862
i made printing less complicated by making printing both the name and the url with the seperator the default option and using both those flags at the same time should do the same thing as just printing without any flags. i also refactored commands into their own module folder with each command getting their own file module.
67 lines
1.3 KiB
JSON
67 lines
1.3 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "meowy-cli (Print)",
|
|
"program": "${workspaceFolder}/target/debug/meowy-cli",
|
|
"args": [
|
|
"print"
|
|
],
|
|
"cwd": "${workspaceFolder}",
|
|
"sourceMap": {},
|
|
"sourceLanguages": [
|
|
"rust"
|
|
],
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "meowy-cli (Print) json",
|
|
"program": "${workspaceFolder}/target/debug/meowy-cli",
|
|
"args": [
|
|
"print",
|
|
"--json"
|
|
],
|
|
"cwd": "${workspaceFolder}",
|
|
"sourceMap": {},
|
|
"sourceLanguages": [
|
|
"rust"
|
|
],
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "meowy-cli (Print) only url",
|
|
"program": "${workspaceFolder}/target/debug/meowy-cli",
|
|
"args": [
|
|
"print",
|
|
"--url"
|
|
],
|
|
"cwd": "${workspaceFolder}",
|
|
"sourceMap": {},
|
|
"sourceLanguages": [
|
|
"rust"
|
|
],
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "meowy-cli (Print) only name",
|
|
"program": "${workspaceFolder}/target/debug/meowy-cli",
|
|
"args": [
|
|
"print",
|
|
"--name"
|
|
],
|
|
"cwd": "${workspaceFolder}",
|
|
"sourceMap": {},
|
|
"sourceLanguages": [
|
|
"rust"
|
|
],
|
|
}
|
|
]
|
|
}
|