snape

package module
v0.0.0-...-203aceb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

snape

Get Permissions

Installing

Snape is written in Go. You can install Snape by running: go install github.com/mikfreedman/snape/cmd/snape@latest.

Usage

$ snape
Usage: snape <command>

Flags:
  -h, --help    Show context-sensitive help.

Commands:
  permission list
    list permissions for files in a folder (by folder ID)

Run "snape <command> --help" for more information on a command.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	GetPermissions(ctx context.Context, folderID string, recursive bool, debug bool) (Permissions, error)
}

type Permission

type Permission struct {
	ID           string
	Filename     string
	EmailAddress string
	Role         string
	FileID       string
}

type Permissions

type Permissions []Permission

Directories

Path Synopsis
cmd
snape command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL