Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/snow-actions/ls

ls to JSON
https://github.com/snow-actions/ls

actions github-actions

Last synced: about 2 months ago
JSON representation

ls to JSON

Awesome Lists containing this project

README

        

# ls

[![Test](https://github.com/snow-actions/ls/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/snow-actions/ls/actions/workflows/test.yml)

`ls` to JSON.

## Usage

```yml
steps:
- id: ls
uses: snow-actions/[email protected]
- run: echo "${json}"
env:
json: ${{ steps.ls.outputs.json }}
```

## Inputs & Outputs

See [action.yml](action.yml)

### Inputs

| Name | Description | Default | Required |
| - | - | - | - |
| `path` | Path | `.` | yes |
| `dotfiles` | Include dotfiles | `false` | no |

### Outputs

| Name | Description |
| - | - |
| `json` | JSON |

## Supported

### Runners

- `ubuntu-*`
- `windows-*`
- `macos-*`
- `self-hosted`

### Events

- Any

## Dependencies

- Bash
- [jq](https://stedolan.github.io/jq/)

## Contributing

Welcome.