Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,15 @@ homebrew_casks:
directory: Casks
homepage: "https://github.com/timimsms/cu"
description: "A CLI for ClickUp — like gh is for GitHub"
# install_steps renders Homebrew's declarative postflight_steps; the raw
# Ruby `install` hook renders `postflight do`, which Homebrew 7 deprecates.
# The steps DSL is not Ruby, so the staged path is GoReleaser's
# {{ .StagedPath }} token rather than #{staged_path}.
hooks:
post:
install: |
if OS.mac?
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/cu"]
install_steps: |
on_macos do
run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{ .StagedPath }}/cu"]
end

release:
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ The package name `@timimsms/cu` is reserved on npm as a placeholder only — a f
### Direct Download
Download the latest release from the [releases page](https://github.com/timimsms/cu/releases).

### `cu` runs a different program on macOS
macOS ships its own `/usr/bin/cu`, the Taylor UUCP serial-line dialer. If `/usr/bin` comes before Homebrew's bin directory (or `~/go/bin`) on your `PATH`, typing `cu` runs that tool and prints UUCP usage text instead. Check which one you get:

```bash
which -a cu # the first entry should be /opt/homebrew/bin/cu (or ~/go/bin/cu)
```

If `/usr/bin/cu` is listed first, move Homebrew's or Go's bin directory ahead of `/usr/bin` in your shell profile.

## Quick Start

1. Authenticate with ClickUp:
Expand Down
10 changes: 10 additions & 0 deletions docs/site/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@ The package name `@timimsms/cu` is reserved on npm as a placeholder only — a f

Download the latest release from the [releases page](https://github.com/timimsms/cu/releases).

### `cu` runs a different program on macOS

macOS ships its own `/usr/bin/cu`, the Taylor UUCP serial-line dialer. If `/usr/bin` comes before Homebrew's bin directory (or `~/go/bin`) on your `PATH`, typing `cu` runs that tool and prints UUCP usage text instead. Check which one you get:

```bash
which -a cu # the first entry should be /opt/homebrew/bin/cu (or ~/go/bin/cu)
```

If `/usr/bin/cu` is listed first, move Homebrew's or Go's bin directory ahead of `/usr/bin` in your shell profile.

## Quick Start

Get started with `cu` in just a few steps:
Expand Down
Loading