Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
elviskahoro committed Feb 12, 2024
2 parents 77fcde7 + 9552855 commit 23b4c2a
Show file tree
Hide file tree
Showing 12 changed files with 159 additions and 5 deletions.
14 changes: 14 additions & 0 deletions specs/code-insiders/compare_two_files_in_vs_code_insiders.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Compare two files in VS Code (Insiders)
command: "code-insiders -d {{file1}} {{file2}}"
tags: ["code-insiders"]
description: Compare two files using code.
arguments:
- name: file1
description: The first file that you want to compare.
- name: file2
description: The second file that you want to compare.
source_url: "https://stackoverflow.com/questions/30139597/visual-studio-code-is-there-a-compare-feature-like-that-plugin-for-notepad"
author: wisbucky
author_url: "https://stackoverflow.com/users/1081043/wisbucky"
shells: []
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Open a file or directory in the currently open VS Code (Insiders) window
command: "code-insiders -r {{file_or_directory}}"
tags: ["code-insiders"]
description: Use -r or --reuse-window command line option to attach the currently open VS Code window.
arguments:
- name: file_or_directory
description: The file or directory that you want to open.
default_value: ~
source_url: "https://stackoverflow.com/questions/41377489/how-to-open-a-file-from-the-integrated-terminal-in-visual-studio-code"
author: zloy-zhake
author_url: "https://stackoverflow.com/users/2807320/zloy-zhake"
shells: []
13 changes: 13 additions & 0 deletions specs/code-insiders/open_a_path_in_vs_code_insiders.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Open a path in VS Code (Insiders)
command: "code-insiders {{path}}"
tags: ["code-insiders"]
description: This workflow opens the current or the specified folder in VS Code.
arguments:
- name: path
description: The file or directory for VS Code to open. The default is the current directory.
default_value: "."
source_url: https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line
author: pan93412
author_url: "https://github.com/pan93412"
shells: []
10 changes: 10 additions & 0 deletions specs/docker/list_docker_images_from_local.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: List docker images from local system
command: docker image ls
tags:
- docker
description: Lists all docker images currently stored on your system
source_url: "https://docs.docker.com/engine/reference/commandline/image_ls/"
author: guel-codes
author_url: "https://github.com/guel-codes"
shells: []
14 changes: 14 additions & 0 deletions specs/docker/remove_docker_images_from_local.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Remove docker images from local system
command: docker rmi {{image_id}}
tags:
- docker
description: Remove docker images currently stored on your system
arguments:
- name: image_id
description: The container ID of the docker container.
default_value: ~
source_url: "https://docs.docker.com/engine/reference/commandline/rmi/"
author: guel-codes
author_url: "https://github.com/guel-codes"
shells: []
14 changes: 14 additions & 0 deletions specs/nest_cli/generate_app_nestjs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Generate an app using Nest.js
command: "nest g co {{appName}}"
tags:
- nestcli
description: Generate a app with the given name.
arguments:
- name: appName
description: the name for the app to be generated
default_value: foo
source_url: "https://docs.nestjs.com/cli/overview"
author: nagauta
author_url: "https://github.com/nagauta"
shells: []
14 changes: 14 additions & 0 deletions specs/nest_cli/generate_class_nestjs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Generate a class using Nest.js
command: "nest g cl {{className}}"
tags:
- nestcli
description: Generate a class with the given name.
arguments:
- name: className
description: the name for the class to be generated
default_value: foo
source_url: "https://docs.nestjs.com/cli/overview"
author: nagauta
author_url: "https://github.com/nagauta"
shells: []
14 changes: 14 additions & 0 deletions specs/nest_cli/generate_controller_nestjs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Generate a controller using Nest.js
command: "nest g co {{controllerName}}"
tags:
- nestcli
description: Generate a controller with the given name.
arguments:
- name: controllerName
description: the name for the controller to be generated
default_value: foo
source_url: "https://docs.nestjs.com/cli/overview"
author: nagauta
author_url: "https://github.com/nagauta"
shells: []
14 changes: 14 additions & 0 deletions specs/nest_cli/generate_interface_nestjs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Generate a interface using Nest.js
command: "nest g itf {{interfaceName}}"
tags:
- nestcli
description: Generate a interface with the given name.
arguments:
- name: interfaceName
description: the name for the interface to be generated
default_value: foo
source_url: "https://docs.nestjs.com/cli/overview"
author: nagauta
author_url: "https://github.com/nagauta"
shells: []
14 changes: 14 additions & 0 deletions specs/nest_cli/generate_service_nestjs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Generate a service using Nest.js
command: "nest g s {{serviceName}}"
tags:
- nestcli
description: Generate a service with the given name.
arguments:
- name: serviceName
description: the name for the service to be generated
default_value: foo
source_url: "https://docs.nestjs.com/cli/overview"
author: nagauta
author_url: "https://github.com/nagauta"
shells: []
18 changes: 18 additions & 0 deletions specs/nuxtjs/create_nuxt_app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Create Nuxt app
command: npx nuxi init {{project_name}} --use-{{package_manager}}
tags:
- vuejs
- nuxt
arguments:
- name: project_name
description: Project name
default_value: my-app
- name: package_manager
description: The package manager to use for the application
default_value: npm
source_url: https://nuxt.com/docs/getting-started/installation
description: Create Nuxt application
author: Richard Manzoli
author_url: https://github.com/manzolidev
shells: []
12 changes: 7 additions & 5 deletions specs/python/update_pip.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
name: Update all pip3 packages
command: "pip3 list --outdated --format=freeze | cut -d = -f 1 | xargs -n1 pip3 install -U"
tags: ["python"]
command: pip3 list --outdated --format=columns | tail -n +3 | awk '{print $1}' | xargs -n1 pip3 install -U
tags: [
"python"
]
description: Update all your pip3 packages in one go.
source_url: "https://gist.github.com/kikulikov/898108545ad3297966111aeacf44def7"
author: Kirill Kulikov
author_url: "https://github.com/kikulikov"
source_url: "https://github.com/warpdotdev/workflows/issues/149"
author: Kirill Kulikov, csaper
author_url: "https://github.com/kikulikov, https://github.com/csaper"
shells: []

0 comments on commit 23b4c2a

Please sign in to comment.