Git Product home page Git Product logo

noti's People

Contributors

0charliecat avatar aleksi avatar appzer avatar bcho avatar berndkrannich avatar c-f avatar cryptix avatar daamine avatar dawidd6 avatar dvoros avatar iranzo avatar logiclrd avatar mark05e avatar n-rosati avatar naormalca avatar nhooyr avatar npolizotis avatar serigel avatar tbutts avatar trizko avatar tymm avatar variadico avatar voltagex avatar whilei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

noti's Issues

Unable to set Pushover token

Description

When attempting to use pushover option (-o), error message saying:
Missing access token, NOTI_PUSHOVER_TOK must be set
Even though system variable is definitely set.
Code which results in this error seems fine, just pulls this system variable. I have triple checked with echo $NOTI_PUSHOVER_TOK that this variable (and the other pushover token) are defined.

Use case

noti -o

Steps to reproduce

NOTI_PUSHOVER_TOK='foo';noti -o
NOTI_PUSHOVER_TOK=foo;noti -o

How to rename the default bot name `noti`

Use case

In slack the default bot name is noti.
Can you tell where I could rename this to another friendly name like Pikwi

Here is how my setup looks like :)
screen shot 2016-12-09 at 2 50 06 pm

Cheers!
Pascal

Version

go version go1.7.4 linux/amd64
noti v2.5.0

Disabling sound for OS X Notifications

It would be great if there was some facility to disable sounds for OS X notifications. I often find the sounds from notifications more of a distraction than useful addition. Would it be possible to, in some way, disable these as an option?

Add a config file to allow more customization

The number of env vars is too damn high. Also, adding flags might be kinda weird too, since we don't use subcommands.

A config file might be the easiest way to allow more fine-grained customization in the long term.

Run noti in Docker

I'm about to push a PR for running noti in a docker container.
It's working but I'm looking to make the image leaner.

So far it looks like this project is depending on notify-osd.

Before notify-osd

The base image for debian:jessie-slim is 87Mo.

screen shot 2017-09-30 at 4 36 05 pm

After notify-osd

Now it's 230 Mo

screen shot 2017-09-30 at 4 42 19 pm

My question

  1. I'm curious to know if some folks knows a smaller package than notify-osd ?
  2. I would prefer to build on alpine but I can't find a way to install notify-osd on it.

dockerfile (multi-stage)

# stage build
### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
FROM golang as stage

RUN apt-get update -y && \
	apt-get install -y \
	curl bash git wget ca-certificates

RUN go get -u github.com/variadico/noti/cmd/noti

WORKDIR /go


# final build
### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
FROM debian:jessie-slim

ENV GOPATH /go
ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH

RUN mkdir -p /go && \
	mkdir -p "$GOPATH/src" "$GOPATH/bin" && \
	chmod -R 777 "$GOPATH"

RUN apt-get update -y && \
	apt-get install -y \
	ca-certificates \
	notify-osd \
	&& \
	apt-get -y autoclean -y && \
	apt-get -y autoremove && \
	apt-get purge && \
	rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

WORKDIR $GOPATH

COPY --from=stage /go/bin /go/bin

docker run

SLACK_TOKEN_CRON="xowEF34TQ345TY-Q345GQ3AREBERG3QA4-5TYGAERBAE5Y24-76"
ENV_DATE_SEC="$(date +%Y-%m-%d_%HH%M_%S)"
IMG_test="devmtl/noti:edge_2017-09-30_16H10"
\
echo;
docker run --rm \
--name noti \
-e NOTI_MESSAGE="Test from noti $ENV_DATE_SEC" \
-e SLACK_CHANNEL="cron" \
-e SLACK_TOKEN_CRON="$SLACK_TOKEN_CRON" \
"$IMG_test" \
sh -c \
'NOTI_SLACK_TOK="$SLACK_TOKEN_CRON" \
NOTI_SLACK_DEST="$SLACK_CHANNEL" \
noti -k -m "$NOTI_MESSAGE"'; echo;

Cheers!

Feature Request: Hipchat notification

Hi,

Great handy project

Have you thought about adding Hipchat notification? Would be handy to alert remote co-works / clients when test-suites/deploys are done.

Thanks

Add tests

Description

noti currently doesn't have any tests. There is no guarantee that something didn't break after each release. I should add at least some tests.

Feture request: Pushover notifications

Pushover is a notification service, similar to Pushbullet. The main feature is that Pushover virtually integrates anything to they api, so you can get your notifications in any devices or services.

I can send a PR with that feature by myself, if you like.

Switch over to spf13/cobra

Parsing command line args is a solved problem. Noti should focus on notifications not parsing flags.

2.7 deprecated single dash flags in favor of more standard double dash flags, while still allowing single dash flags for now. This will allow us to smoothly transition over to spf13/cobra, which parses GNU-style flags.

This change will simplify Noti and also bring better structure to the codebase. Also, we might be able to leverage Viper for file and environment configuration.

Move docs from wiki to repo

I currently have some docs in the wiki and some in the repo. I'm thinking it's probably more obvious if we just centralize everything in the repo.

Fix broken builds on Windows

Description

Currently, noti doesn't compile on Windows. I don't own a Windows computer, so I never tried compiling on Windows.

Version

This affects Noti version 2.2.1 and prior.

Issue #36 is about supporting banner notifications on Windows 10. This issue is about getting a version of Noti that works with OS-agnostic notification types like Slack and Pushbullet.

Won't compile on macOS Sierra beta 2

ran this: go get -u github.com/variadico/noti/cmd/noti

got this

# github.com/variadico/noti/banner
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:44:12: error: unknown property attribute 'class'
@property (class, readonly) BOOL supportsSecureCoding;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:12:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h:6:
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:258:12: error: unknown property attribute 'class'
@property (class, readonly) const NSStringEncoding *availableStringEncodings;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:265:12: error: unknown property attribute 'class'
@property (class, readonly) NSStringEncoding defaultCStringEncoding;    // Should be rarely used
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:12:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h:11:
/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h:45:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSNotificationCenter *defaultCenter;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:12:
/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h:33:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSBundle *mainBundle;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h:46:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSArray<NSBundle *> *allBundles;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h:47:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSArray<NSBundle *> *allFrameworks;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:14:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h:7:
/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h:46:12: error: unknown property attribute 'class'
@property (class, readonly) NSTimeInterval timeIntervalSinceReferenceDate;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h:60:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSDate *distantFuture;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h:61:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSDate *distantPast;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:14:
/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h:108:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSCalendar *currentCalendar;                                  // user's preferred calendar
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h:109:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSCalendar *autoupdatingCurrentCalendar NS_AVAILABLE(10_5, 2_0); // tracks changes to user's preferred calendar identifier
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:15:
/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:21:33: error: unknown property attribute 'class'
@property (nonatomic, readonly, class, copy) NSCharacterSet *controlCharacterSet;
                                ^
/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:22:33: error: unknown property attribute 'class'
@property (nonatomic, readonly, class, copy) NSCharacterSet *whitespaceCharacterSet;
                                ^
/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:23:33: error: unknown property attribute 'class'
@property (nonatomic, readonly, class, copy) NSCharacterSet *whitespaceAndNewlineCharacterSet;
                                ^
/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:24:33: error: unknown property attribute 'class'
@property (nonatomic, readonly, class, copy) NSCharacterSet *decimalDigitCharacterSet;
                                ^
/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:25:33: error: unknown property attribute 'class'
@property (nonatomic, readonly, class, copy) NSCharacterSet *letterCharacterSet;
                                ^
/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:26:33: error: unknown property attribute 'class'
@property (nonatomic, readonly, class, copy) NSCharacterSet *lowercaseLetterCharacterSet;
                                ^
/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:27:33: error: unknown property attribute 'class'
@property (nonatomic, readonly, class, copy) NSCharacterSet *uppercaseLetterCharacterSet;
                                ^
/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:28:33: error: unknown property attribute 'class'
@property (nonatomic, readonly, class, copy) NSCharacterSet *nonBaseCharacterSet;
                                ^
/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:29:33: error: unknown property attribute 'class'
@property (nonatomic, readonly, class, copy) NSCharacterSet *alphanumericCharacterSet;
                                ^
/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:30:33: error: unknown property attribute 'class'
@property (nonatomic, readonly, class, copy) NSCharacterSet *decomposableCharacterSet;
                                ^
/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:31:33: error: unknown property attribute 'class'
@property (nonatomic, readonly, class, copy) NSCharacterSet *illegalCharacterSet;
                                ^
/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:32:33: error: unknown property attribute 'class'
@property (nonatomic, readonly, class, copy) NSCharacterSet *punctuationCharacterSet;
                                ^
/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:33:33: error: unknown property attribute 'class'
@property (nonatomic, readonly, class, copy) NSCharacterSet *capitalizedLetterCharacterSet;
                                ^
/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:34:33: error: unknown property attribute 'class'
@property (nonatomic, readonly, class, copy) NSCharacterSet *symbolCharacterSet;
                                ^
/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:35:33: error: unknown property attribute 'class'
@property (nonatomic, readonly, class, copy) NSCharacterSet *newlineCharacterSet NS_AVAILABLE(10_5, 2_0);
                                ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:20:
/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h:70:12: error: unknown property attribute 'class'
@property (class) NSDateFormatterBehavior defaultFormatterBehavior;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:26:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h:8:
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:133:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitAcceleration *metersPerSecondSquared;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:134:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitAcceleration *gravity;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:144:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitAngle *degrees;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:145:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitAngle *arcMinutes;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:146:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitAngle *arcSeconds;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:147:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitAngle *radians;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:148:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitAngle *gradians;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:149:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitAngle *revolutions;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:159:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitArea *squareMegameters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:160:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitArea *squareKilometers;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:161:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitArea *squareMeters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:162:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitArea *squareCentimeters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:163:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitArea *squareMillimeters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:164:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitArea *squareMicrometers;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:165:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitArea *squareNanometers;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:166:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitArea *squareInches;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:167:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitArea *squareFeet;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:168:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitArea *squareYards;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:169:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitArea *squareMiles;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:170:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitArea *acres;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:171:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitArea *ares;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:172:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitArea *hectares;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:182:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitConcentrationMass *gramsPerLiter;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:183:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitConcentrationMass *milligramsPerDeciliter;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:194:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitDispersion *partsPerMillion;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:204:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitDuration *seconds;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:205:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitDuration *minutes;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:206:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitDuration *hours;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:216:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricCharge *coulombs;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:217:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricCharge *megaampereHours;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:218:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricCharge *kiloampereHours;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:219:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricCharge *ampereHours;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:220:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricCharge *milliampereHours;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:221:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricCharge *microampereHours;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:231:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricCurrent *megaamperes;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:232:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricCurrent *kiloamperes;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:233:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricCurrent *amperes;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:234:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricCurrent *milliamperes;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:235:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricCurrent *microamperes;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:245:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricPotentialDifference *megavolts;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:246:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricPotentialDifference *kilovolts;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:247:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricPotentialDifference *volts;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:248:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricPotentialDifference *millivolts;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:249:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricPotentialDifference *microvolts;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:259:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricResistance *megaohms;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:260:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricResistance *kiloohms;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:261:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricResistance *ohms;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:262:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricResistance *milliohms;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:263:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitElectricResistance *microohms;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:273:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitEnergy *kilojoules;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:274:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitEnergy *joules;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:275:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitEnergy *kilocalories;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:276:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitEnergy *calories;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:277:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitEnergy *kilowattHours;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:287:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitFrequency *terahertz;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:288:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitFrequency *gigahertz;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:289:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitFrequency *megahertz;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:290:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitFrequency *kilohertz;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:291:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitFrequency *hertz;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:292:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitFrequency *millihertz;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:293:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitFrequency *microhertz;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:294:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitFrequency *nanohertz;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:304:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitFuelEfficiency *litersPer100Kilometers;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:305:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitFuelEfficiency *milesPerImperialGallon;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:306:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitFuelEfficiency *milesPerGallon;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:316:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *megameters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:317:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *kilometers;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:318:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *hectometers;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:319:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *decameters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:320:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *meters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:321:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *decimeters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:322:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *centimeters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:323:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *millimeters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:324:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *micrometers;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:325:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *nanometers;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:326:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *picometers;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:327:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *inches;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:328:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *feet;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:329:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *yards;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:330:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *miles;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:331:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *scandinavianMiles;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:332:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *lightyears;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:333:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *nauticalMiles;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:334:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *fathoms;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:335:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *furlongs;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:336:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *astronomicalUnits;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:337:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitLength *parsecs;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:347:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitIlluminance *lux;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:357:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitMass *kilograms;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:358:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitMass *grams;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:359:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitMass *decigrams;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:360:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitMass *centigrams;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:361:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitMass *milligrams;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:362:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitMass *micrograms;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:363:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitMass *nanograms;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:364:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitMass *picograms;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:365:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitMass *ounces;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:366:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitMass *poundsMass;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:367:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitMass *stones;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:368:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitMass *metricTons;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:369:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitMass *shortTons;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:370:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitMass *carats;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:371:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitMass *ouncesTroy;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:372:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitMass *slugs;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:382:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPower *terawatts;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:383:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPower *gigawatts;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:384:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPower *megawatts;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:385:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPower *kilowatts;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:386:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPower *watts;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:387:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPower *milliwatts;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:388:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPower *microwatts;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:389:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPower *nanowatts;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:390:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPower *picowatts;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:391:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPower *femtowatts;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:392:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPower *horsepower;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:402:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPressure *newtonsPerMetersSquared;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:403:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPressure *gigapascals;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:404:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPressure *megapascals;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:405:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPressure *kilopascals;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:406:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPressure *hectopascals;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:407:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPressure *inchesOfMercury;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:408:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPressure *bars;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:409:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPressure *millibars;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:410:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPressure *millimetersOfMercury;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:411:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitPressure *poundsForcePerSquareInch;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:421:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitSpeed *metersPerSecond;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:422:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitSpeed *kilometersPerHour;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:423:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitSpeed *milesPerHour;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:424:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitSpeed *knots;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:433:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitTemperature *kelvin;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:434:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitTemperature *celsius; 
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:435:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitTemperature *fahrenheit;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:446:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *megaliters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:447:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *kiloliters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:448:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *liters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:449:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *deciliters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:450:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *centiliters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:451:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *milliliters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:452:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *cubicKilometers;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:453:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *cubicMeters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:454:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *cubicDecimeters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:455:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *cubicCentimeters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:456:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *cubicMillimeters;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:457:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *cubicInches;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:458:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *cubicFeet;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:459:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *cubicYards;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:460:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *cubicMiles;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:461:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *acreFeet;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:462:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *bushels;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:463:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *teaspoons;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:464:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *tablespoons;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:465:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *fluidOunces;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:466:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *cups;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:467:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *pints;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:468:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *quarts;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:469:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *gallons;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:470:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *imperialTeaspoons;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:471:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *imperialTablespoons;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:472:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *imperialFluidOunces;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:473:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *imperialPints;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:474:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *imperialQuarts;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:475:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *imperialGallons;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h:476:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSUnitVolume *metricCups;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:27:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h:11:
/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h:90:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSLocale *autoupdatingCurrentLocale NS_AVAILABLE(10_5, 2_0); // generally you should use this property
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h:92:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSLocale *currentLocale;      // an object representing the user's current locale
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h:93:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSLocale *systemLocale;       // the default generic root locale with little localization
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h:105:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSArray<NSString *> *availableLocaleIdentifiers;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h:106:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSArray<NSString *> *ISOLanguageCodes;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h:107:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSArray<NSString *> *ISOCountryCodes;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h:108:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSArray<NSString *> *ISOCurrencyCodes;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h:109:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSArray<NSString *> *commonISOCurrencyCodes NS_AVAILABLE(10_5, 2_0);
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h:111:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSArray<NSString *> *preferredLanguages NS_AVAILABLE(10_5, 2_0); // note that this list does not indicate what language the app is actually running in; the NSBundle.mainBundle object determines that at launch and knows that information
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:31:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h:9:
/System/Library/Frameworks/Foundation.framework/Headers/NSException.h:297:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSAssertionHandler *currentHandler;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:31:
/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h:65:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSDecimalNumber *zero;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h:66:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSDecimalNumber *one;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h:67:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSDecimalNumber *minimumDecimalNumber;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h:68:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSDecimalNumber *maximumDecimalNumber;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h:69:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSDecimalNumber *notANumber;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h:98:12: error: unknown property attribute 'class'
@property (class, strong) id <NSDecimalNumberBehaviors> defaultBehavior;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:36:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h:10:
/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h:27:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSRunLoop *currentRunLoop;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h:28:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSRunLoop *mainRunLoop NS_AVAILABLE(10_5, 2_0);
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:36:
/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h:41:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSFileHandle *fileHandleWithStandardInput;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h:42:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSFileHandle *fileHandleWithStandardOutput;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h:43:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSFileHandle *fileHandleWithStandardError;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h:44:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSFileHandle *fileHandleWithNullDevice;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:37:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:11:
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:522:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSCharacterSet *URLUserAllowedCharacterSet NS_AVAILABLE(10_9, 7_0);
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:525:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSCharacterSet *URLPasswordAllowedCharacterSet NS_AVAILABLE(10_9, 7_0);
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:528:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSCharacterSet *URLHostAllowedCharacterSet NS_AVAILABLE(10_9, 7_0);
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:531:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSCharacterSet *URLPathAllowedCharacterSet NS_AVAILABLE(10_9, 7_0);
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:534:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSCharacterSet *URLQueryAllowedCharacterSet NS_AVAILABLE(10_9, 7_0);
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:537:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSCharacterSet *URLFragmentAllowedCharacterSet NS_AVAILABLE(10_9, 7_0);
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:37:
/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:94:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSFileManager *defaultManager;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:41:
/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h:60:11: error: unknown property attribute 'class'
@property(class, readonly, strong) NSHTTPCookieStorage *sharedHTTPCookieStorage;
          ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:46:
/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h:45:12: error: unknown property attribute 'class'
@property (class, readonly) BOOL accessInstanceVariablesDirectly;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:54:
/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h:33:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSNotificationQueue *defaultQueue;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:58:
/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h:140:12: error: unknown property attribute 'class'
@property (class, readonly, strong, nullable) NSOperationQueue *currentQueue NS_AVAILABLE(10_6, 4_0);
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h:141:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSOperationQueue *mainQueue NS_AVAILABLE(10_6, 4_0);
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:65:
/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:39:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSProcessInfo *processInfo;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:77:
/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h:20:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSThread *currentThread;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h:43:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSArray<NSNumber *> *callStackReturnAddresses NS_AVAILABLE(10_5, 2_0);
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h:44:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSArray<NSString *> *callStackSymbols NS_AVAILABLE(10_6, 4_0);
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h:53:12: error: unknown property attribute 'class'
@property (class, readonly) BOOL isMainThread NS_AVAILABLE(10_5, 2_0); // reports whether current thread is main
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h:53:34: error: property has a previous declaration
@property (class, readonly) BOOL isMainThread NS_AVAILABLE(10_5, 2_0); // reports whether current thread is main
                                 ^
/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h:51:27: note: property declared here
@property (readonly) BOOL isMainThread NS_AVAILABLE(10_5, 2_0);
                          ^
/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h:54:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSThread *mainThread NS_AVAILABLE(10_5, 2_0);
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:78:
/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h:29:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSTimeZone *systemTimeZone;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h:34:12: error: unknown property attribute 'class'
@property (class, copy) NSTimeZone *defaultTimeZone;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h:36:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSTimeZone *localTimeZone;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h:38:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSArray<NSString *> *knownTimeZoneNames;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h:40:12: error: unknown property attribute 'class'
@property (class, copy) NSDictionary<NSString *, NSString *> *abbreviationDictionary NS_AVAILABLE(10_6, 4_0);
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h:44:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSString *timeZoneDataVersion NS_AVAILABLE(10_6, 4_0);
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:83:
/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h:153:12: error: unknown property attribute 'class'
@property (class, strong) NSURLCache *sharedURLCache;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:86:
/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h:38:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSURLCredentialStorage *sharedCredentialStorage;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:90:
/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h:201:12: error: unknown property attribute 'class'
@property (class, readonly) BOOL supportsSecureCoding;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:92:
/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:61:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSUserDefaults *standardUserDefaults;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:112:
/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h:107:12: error: unknown property attribute 'class'
@property (class, readonly, copy) NSArray<id<NSFilePresenter>> *filePresenters;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:125:
/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:129:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSURLSession *sharedSession;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:484:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSURLSessionConfiguration *defaultSessionConfiguration;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:485:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSURLSessionConfiguration *ephemeralSessionConfiguration;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:178:
/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:123:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSUserNotificationCenter *defaultUserNotificationCenter;
           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:11:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:13:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSGraphicsContext.h:9:
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:59:86: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeClear API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationClear", macosx(10.0, 10.12)) = NSCompositingOperationClear;
                                                                                     ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:60:85: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeCopy API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationCopy", macosx(10.0, 10.12)) = NSCompositingOperationCopy;
                                                                                    ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:61:91: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeSourceOver API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationSourceOver", macosx(10.0, 10.12)) = NSCompositingOperationSourceOver;
                                                                                          ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:62:89: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeSourceIn API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationSourceIn", macosx(10.0, 10.12)) = NSCompositingOperationSourceIn;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:63:90: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeSourceOut API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationSourceOut", macosx(10.0, 10.12)) = NSCompositingOperationSourceOut;
                                                                                         ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:64:91: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeSourceAtop API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationSourceAtop", macosx(10.0, 10.12)) = NSCompositingOperationSourceAtop;
                                                                                          ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:65:96: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeDestinationOver API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationDestinationOver", macosx(10.0, 10.12)) = NSCompositingOperationDestinationOver;
                                                                                               ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:66:94: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeDestinationIn API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationDestinationIn", macosx(10.0, 10.12)) = NSCompositingOperationDestinationIn;
                                                                                             ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:67:95: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeDestinationOut API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationDestinationOut", macosx(10.0, 10.12)) = NSCompositingOperationDestinationOut;
                                                                                              ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:68:96: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeDestinationAtop API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationDestinationAtop", macosx(10.0, 10.12)) = NSCompositingOperationDestinationAtop;
                                                                                               ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:69:84: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeXOR API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationXOR", macosx(10.0, 10.12)) = NSCompositingOperationXOR;
                                                                                   ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:70:91: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositePlusDarker API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationPlusDarker", macosx(10.0, 10.12)) = NSCompositingOperationPlusDarker;
                                                                                          ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:72:92: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositePlusLighter API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationPlusLighter", macosx(10.0, 10.12)) = NSCompositingOperationPlusLighter;
                                                                                           ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:73:89: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeMultiply API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationMultiply", macosx(10.0, 10.12)) = NSCompositingOperationMultiply;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:74:87: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeScreen API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationScreen", macosx(10.0, 10.12)) = NSCompositingOperationScreen;
                                                                                      ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:75:88: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeOverlay API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationOverlay", macosx(10.0, 10.12)) = NSCompositingOperationOverlay;
                                                                                       ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:76:87: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeDarken API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationDarken", macosx(10.0, 10.12)) = NSCompositingOperationDarken;
                                                                                      ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:77:88: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeLighten API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationLighten", macosx(10.0, 10.12)) = NSCompositingOperationLighten;
                                                                                       ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:78:91: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeColorDodge API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationColorDodge", macosx(10.0, 10.12)) = NSCompositingOperationColorDodge;
                                                                                          ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:79:90: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeColorBurn API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationColorBurn", macosx(10.0, 10.12)) = NSCompositingOperationColorBurn;
                                                                                         ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:80:90: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeSoftLight API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationSoftLight", macosx(10.0, 10.12)) = NSCompositingOperationSoftLight;
                                                                                         ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:81:90: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeHardLight API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationHardLight", macosx(10.0, 10.12)) = NSCompositingOperationHardLight;
                                                                                         ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:82:91: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeDifference API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationDifference", macosx(10.0, 10.12)) = NSCompositingOperationDifference;
                                                                                          ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:83:90: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeExclusion API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationExclusion", macosx(10.0, 10.12)) = NSCompositingOperationExclusion;
                                                                                         ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:85:84: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeHue API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationHue", macosx(10.0, 10.12)) = NSCompositingOperationHue;
                                                                                   ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:86:91: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeSaturation API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationSaturation", macosx(10.0, 10.12)) = NSCompositingOperationSaturation;
                                                                                          ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:87:86: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeColor API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationColor", macosx(10.0, 10.12)) = NSCompositingOperationColor;
                                                                                     ^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:88:91: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSCompositingOperation NSCompositeLuminosity API_DEPRECATED_WITH_REPLACEMENT("NSCompositingOperationLuminosity", macosx(10.0, 10.12)) = NSCompositingOperationLuminosity;
                                                                                          ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:11:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:15:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSActionCell.h:8:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:11:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSText.h:8:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSView.h:8:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:10:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:10:
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:64:75: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSLeftMouseDown        API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseDown", macosx(10.0, 10.12)) = NSEventTypeLeftMouseDown;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:65:74: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSLeftMouseUp          API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseUp", macosx(10.0, 10.12)) = NSEventTypeLeftMouseUp;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:66:76: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSRightMouseDown       API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseDown", macosx(10.0, 10.12)) = NSEventTypeRightMouseDown;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:67:74: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSRightMouseUp         API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseUp", macosx(10.0, 10.12)) = NSEventTypeRightMouseUp;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:68:73: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSMouseMoved           API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeMouseMoved", macosx(10.0, 10.12)) = NSEventTypeMouseMoved;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:69:77: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSLeftMouseDragged     API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseDragged", macosx(10.0, 10.12)) = NSEventTypeLeftMouseDragged;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:70:79: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSRightMouseDragged    API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseDragged", macosx(10.0, 10.12)) = NSEventTypeRightMouseDragged;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:71:74: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSMouseEntered         API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeMouseEntered", macosx(10.0, 10.12)) = NSEventTypeMouseEntered;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:72:74: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSMouseExited          API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeMouseExited", macosx(10.0, 10.12)) = NSEventTypeMouseExited;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:73:70: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSKeyDown              API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeKeyDown", macosx(10.0, 10.12)) = NSEventTypeKeyDown;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:74:68: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSKeyUp                API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeKeyUp", macosx(10.0, 10.12)) = NSEventTypeKeyUp;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:75:74: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSFlagsChanged         API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeFlagsChanged", macosx(10.0, 10.12)) = NSEventTypeFlagsChanged;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:76:75: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSAppKitDefined        API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeAppKitDefined", macosx(10.0, 10.12)) = NSEventTypeAppKitDefined;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:77:75: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSSystemDefined        API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeSystemDefined", macosx(10.0, 10.12)) = NSEventTypeSystemDefined;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:78:79: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSApplicationDefined   API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeApplicationDefined", macosx(10.0, 10.12)) = NSEventTypeApplicationDefined;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:79:71: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSPeriodic             API_DEPRECATED_WITH_REPLACEMENT("NSEventTypePeriodic", macosx(10.0, 10.12)) = NSEventTypePeriodic;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:80:74: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSCursorUpdate         API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeCursorUpdate", macosx(10.0, 10.12)) = NSEventTypeCursorUpdate;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:81:74: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSScrollWheel          API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeScrollWheel", macosx(10.0, 10.12)) = NSEventTypeScrollWheel;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:82:74: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSTabletPoint          API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeTabletPoint", macosx(10.0, 10.12)) = NSEventTypeTabletPoint;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:83:77: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSTabletProximity      API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeTabletProximity", macosx(10.0, 10.12)) = NSEventTypeTabletProximity;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:84:75: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSOtherMouseDown       API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeOtherMouseDown", macosx(10.0, 10.12)) = NSEventTypeOtherMouseDown;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:85:74: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSOtherMouseUp         API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeOtherMouseUp", macosx(10.0, 10.12)) = NSEventTypeOtherMouseUp;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:86:79: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventType NSOtherMouseDragged    API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeOtherMouseDragged", macosx(10.0, 10.12)) = NSEventTypeOtherMouseDragged;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:133:80: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSLeftMouseDownMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskLeftMouseDown", macosx(10.0, 10.12)) = NSEventMaskLeftMouseDown;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:134:78: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSLeftMouseUpMask              API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskLeftMouseUp", macosx(10.0, 10.12)) = NSEventMaskLeftMouseUp;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:135:81: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSRightMouseDownMask           API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskRightMouseDown", macosx(10.0, 10.12)) = NSEventMaskRightMouseDown;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:136:79: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSRightMouseUpMask             API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskRightMouseUp", macosx(10.0, 10.12)) = NSEventMaskRightMouseUp;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:137:77: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSMouseMovedMask               API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskMouseMoved", macosx(10.0, 10.12)) = NSEventMaskMouseMoved;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:138:82: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSLeftMouseDraggedMask         API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskLeftMouseDragged", macosx(10.0, 10.12)) = NSEventMaskLeftMouseDragged;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:139:83: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSRightMouseDraggedMask        API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskRightMouseDragged", macosx(10.0, 10.12)) = NSEventMaskRightMouseDragged;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:140:79: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSMouseEnteredMask             API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskMouseEntered", macosx(10.0, 10.12)) = NSEventMaskMouseEntered;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:141:78: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSMouseExitedMask              API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskMouseExited", macosx(10.0, 10.12)) = NSEventMaskMouseExited;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:142:75: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSKeyDownMask                  API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskKeyDown", macosx(10.0, 10.12)) = NSEventMaskKeyDown;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:143:73: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSKeyUpMask                    API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskKeyUp", macosx(10.0, 10.12)) = NSEventMaskKeyUp;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:144:79: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSFlagsChangedMask             API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskFlagsChanged", macosx(10.0, 10.12)) = NSEventMaskFlagsChanged;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:145:80: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSAppKitDefinedMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskAppKitDefined", macosx(10.0, 10.12)) = NSEventMaskAppKitDefined;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:146:80: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSSystemDefinedMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskSystemDefined", macosx(10.0, 10.12)) = NSEventMaskSystemDefined;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:147:84: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSApplicationDefinedMask       API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskApplicationDefined", macosx(10.0, 10.12)) = NSEventMaskApplicationDefined;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:148:75: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSPeriodicMask                 API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskPeriodic", macosx(10.0, 10.12)) = NSEventMaskPeriodic;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:149:79: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSCursorUpdateMask             API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskCursorUpdate", macosx(10.0, 10.12)) = NSEventMaskCursorUpdate;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:150:78: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSScrollWheelMask              API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskScrollWheel", macosx(10.0, 10.12)) = NSEventMaskScrollWheel;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:151:78: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSTabletPointMask              API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskTabletPoint", macosx(10.0, 10.12)) = NSEventMaskTabletPoint;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:152:82: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSTabletProximityMask          API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskTabletProximity", macosx(10.0, 10.12)) = NSEventMaskTabletProximity;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:153:81: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSOtherMouseDownMask           API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskOtherMouseDown", macosx(10.0, 10.12)) = NSEventMaskOtherMouseDown;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:154:79: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSOtherMouseUpMask             API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskOtherMouseUp", macosx(10.0, 10.12)) = NSEventMaskOtherMouseUp;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:155:83: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSOtherMouseDraggedMask        API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskOtherMouseDragged", macosx(10.0, 10.12)) = NSEventMaskOtherMouseDragged;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:156:75: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventMask NSAnyEventMask                 API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskAny", macosx(10.0, 10.12)) = NSUIntegerMax;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:179:95: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventModifierFlags NSAlphaShiftKeyMask         API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCapsLock", macosx(10.0, 10.12)) = NSEventModifierFlagCapsLock;
                                                                                              ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:180:95: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventModifierFlags NSShiftKeyMask              API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagShift", macosx(10.0, 10.12)) = NSEventModifierFlagShift;
                                                                                              ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:181:95: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventModifierFlags NSControlKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagControl", macosx(10.0, 10.12)) = NSEventModifierFlagControl;
                                                                                              ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:182:95: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventModifierFlags NSAlternateKeyMask          API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagOption", macosx(10.0, 10.12)) = NSEventModifierFlagOption;
                                                                                              ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:95: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventModifierFlags NSCommandKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand", macosx(10.0, 10.12)) = NSEventModifierFlagCommand;
                                                                                              ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:184:95: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventModifierFlags NSNumericPadKeyMask         API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagNumericPad", macosx(10.0, 10.12)) = NSEventModifierFlagNumericPad;
                                                                                              ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:95: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventModifierFlags NSHelpKeyMask               API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagHelp", macosx(10.0, 10.12)) = NSEventModifierFlagHelp;
                                                                                              ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:186:95: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventModifierFlags NSFunctionKeyMask           API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagFunction", macosx(10.0, 10.12)) = NSEventModifierFlagFunction;
                                                                                              ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:187:107: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventModifierFlags NSDeviceIndependentModifierFlagsMask    API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagDeviceIndependentFlagsMask", macosx(10.0, 10.12)) = NSEventModifierFlagDeviceIndependentFlagsMask;
                                                                                                          ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:197:95: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSPointingDeviceType NSUnknownPointingDevice     API_DEPRECATED_WITH_REPLACEMENT("NSPointingDeviceTypeUnknown", macosx(10.0, 10.12)) = NSPointingDeviceTypeUnknown;
                                                                                              ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:198:95: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSPointingDeviceType NSPenPointingDevice         API_DEPRECATED_WITH_REPLACEMENT("NSPointingDeviceTypePen", macosx(10.0, 10.12)) = NSPointingDeviceTypePen;
                                                                                              ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:199:95: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSPointingDeviceType NSCursorPointingDevice      API_DEPRECATED_WITH_REPLACEMENT("NSPointingDeviceTypeCursor", macosx(10.0, 10.12)) = NSPointingDeviceTypeCursor;
                                                                                              ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:200:95: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSPointingDeviceType NSEraserPointingDevice      API_DEPRECATED_WITH_REPLACEMENT("NSPointingDeviceTypeEraser", macosx(10.0, 10.12)) = NSPointingDeviceTypeEraser;
                                                                                              ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:209:92: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventButtonMask NSPenTipMask                API_DEPRECATED_WITH_REPLACEMENT("NSEventButtonMaskPenTip", macosx(10.0, 10.12)) = NSEventButtonMaskPenTip;
                                                                                           ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:210:92: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventButtonMask NSPenLowerSideMask          API_DEPRECATED_WITH_REPLACEMENT("NSEventButtonMaskPenLowerSide", macosx(10.0, 10.12)) = NSEventButtonMaskPenLowerSide;
                                                                                           ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:211:92: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventButtonMask NSPenUpperSideMask          API_DEPRECATED_WITH_REPLACEMENT("NSEventButtonMaskPenUpperSide", macosx(10.0, 10.12)) = NSEventButtonMaskPenUpperSide;
                                                                                           ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:252:97: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventSubtype NSWindowExposedEventType            API_DEPRECATED_WITH_REPLACEMENT("NSEventSubtypeWindowExposed", macosx(10.0, 10.12)) = NSEventSubtypeWindowExposed;
                                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:253:97: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventSubtype NSApplicationActivatedEventType     API_DEPRECATED_WITH_REPLACEMENT("NSEventSubtypeApplicationActivated", macosx(10.0, 10.12)) = NSEventSubtypeApplicationActivated;
                                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:254:97: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventSubtype NSApplicationDeactivatedEventType   API_DEPRECATED_WITH_REPLACEMENT("NSEventSubtypeApplicationDeactivated", macosx(10.0, 10.12)) = NSEventSubtypeApplicationDeactivated;
                                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:255:97: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventSubtype NSWindowMovedEventType              API_DEPRECATED_WITH_REPLACEMENT("NSEventSubtypeWindowMoved", macosx(10.0, 10.12)) = NSEventSubtypeWindowMoved;
                                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:256:97: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventSubtype NSScreenChangedEventType            API_DEPRECATED_WITH_REPLACEMENT("NSEventSubtypeScreenChanged", macosx(10.0, 10.12)) = NSEventSubtypeScreenChanged;
                                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:258:93: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventSubtype NSPowerOffEventType             API_DEPRECATED_WITH_REPLACEMENT("NSEventSubtypePowerOff", macosx(10.0, 10.12)) = NSEventSubtypePowerOff;
                                                                                            ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:259:93: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventSubtype NSMouseEventSubtype             API_DEPRECATED_WITH_REPLACEMENT("NSEventSubtypeMouseEvent", macosx(10.0, 10.12)) = NSEventSubtypeMouseEvent;
                                                                                            ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:260:93: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventSubtype NSTabletPointEventSubtype       API_DEPRECATED_WITH_REPLACEMENT("NSEventSubtypeTabletPoint", macosx(10.0, 10.12)) = NSEventSubtypeTabletPoint;
                                                                                            ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:261:93: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventSubtype NSTabletProximityEventSubtype   API_DEPRECATED_WITH_REPLACEMENT("NSEventSubtypeTabletProximity", macosx(10.0, 10.12)) = NSEventSubtypeTabletProximity;
                                                                                            ^
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:262:93: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSEventSubtype NSTouchEventSubtype             API_DEPRECATED_WITH_REPLACEMENT("NSEventSubtypeTouch", macosx(10.0, 10.12)) = NSEventSubtypeTouch;
                                                                                            ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:11:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:15:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSActionCell.h:8:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:11:
/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:164:82: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSTextAlignment NSLeftTextAlignment API_DEPRECATED_WITH_REPLACEMENT("NSTextAlignmentLeft", macosx(10.0, 10.12))  = NSTextAlignmentLeft;
                                                                                 ^
/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:165:83: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSTextAlignment NSRightTextAlignment API_DEPRECATED_WITH_REPLACEMENT("NSTextAlignmentRight", macosx(10.0, 10.12))  = NSTextAlignmentRight;
                                                                                  ^
/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:166:84: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSTextAlignment NSCenterTextAlignment API_DEPRECATED_WITH_REPLACEMENT("NSTextAlignmentCenter", macosx(10.0, 10.12))  = NSTextAlignmentCenter;
                                                                                   ^
/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:167:87: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSTextAlignment NSJustifiedTextAlignment API_DEPRECATED_WITH_REPLACEMENT("NSTextAlignmentJustified", macosx(10.0, 10.12))  = NSTextAlignmentJustified;
                                                                                      ^
/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:168:85: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSTextAlignment NSNaturalTextAlignment API_DEPRECATED_WITH_REPLACEMENT("NSTextAlignmentNatural", macosx(10.0, 10.12))  = NSTextAlignmentNatural;
                                                                                    ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:11:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:15:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSActionCell.h:8:
/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:109:81: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSControlSize NSRegularControlSize API_DEPRECATED_WITH_REPLACEMENT("NSControlSizeRegular", macosx(10.0, 10.12)) = NSControlSizeRegular;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:110:79: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSControlSize NSSmallControlSize API_DEPRECATED_WITH_REPLACEMENT("NSControlSizeSmall", macosx(10.0, 10.12)) = NSControlSizeSmall;
                                                                              ^
/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:111:78: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSControlSize NSMiniControlSize API_DEPRECATED_WITH_REPLACEMENT("NSControlSizeMini", macosx(10.0, 10.12)) = NSControlSizeMini;
                                                                             ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:11:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:16:
/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:180:79: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSAlertStyle NSWarningAlertStyle API_DEPRECATED_WITH_REPLACEMENT("NSAlertStyleWarning", macosx(10.3, 10.12)) = NSAlertStyleWarning;
                                                                              ^
/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:181:85: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSAlertStyle NSInformationalAlertStyle API_DEPRECATED_WITH_REPLACEMENT("NSAlertStyleInformational", macosx(10.3, 10.12)) = NSAlertStyleInformational;
                                                                                    ^
/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:182:80: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSAlertStyle NSCriticalAlertStyle API_DEPRECATED_WITH_REPLACEMENT("NSAlertStyleCritical", macosx(10.3, 10.12)) = NSAlertStyleCritical;
                                                                               ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:11:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:22:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:9:
/System/Library/Frameworks/AppKit.framework/Headers/NSButtonCell.h:240:83: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSBezelStyle NSThickSquareBezelStyle API_DEPRECATED_WITH_REPLACEMENT("NSBezelStyleRegularSquare", macosx(10.0, 10.12)) = (NSBezelStyle)3;
                                                                                  ^
/System/Library/Frameworks/AppKit.framework/Headers/NSButtonCell.h:241:85: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSBezelStyle NSThickerSquareBezelStyle API_DEPRECATED_WITH_REPLACEMENT("NSBezelStyleRegularSquare", macosx(10.0, 10.12)) = (NSBezelStyle)4;
                                                                                    ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:11:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:37:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSFontPanel.h:8:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:8:
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:674:12: error: unknown property attribute 'class'
@property (class) BOOL allowsAutomaticWindowTabbing NS_AVAILABLE_MAC(10_12);
           ^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:678:12: error: unknown property attribute 'class'
@property (class, readonly) NSWindowUserTabbingPreference userTabbingPreference NS_AVAILABLE_MAC(10_12);
           ^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:948:87: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSWindowStyleMask NSBorderlessWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskBorderless", macosx(10.0, 10.12)) = NSWindowStyleMaskBorderless;
                                                                                      ^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:949:83: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSWindowStyleMask NSTitledWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskTitled", macosx(10.0, 10.12)) = NSWindowStyleMaskTitled;
                                                                                  ^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:950:85: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSWindowStyleMask NSClosableWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskClosable", macosx(10.0, 10.12)) = NSWindowStyleMaskClosable;
                                                                                    ^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:951:91: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSWindowStyleMask NSMiniaturizableWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskMiniaturizable", macosx(10.0, 10.12)) = NSWindowStyleMaskMiniaturizable;
                                                                                          ^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:952:86: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSWindowStyleMask NSResizableWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskResizable", macosx(10.0, 10.12)) = NSWindowStyleMaskResizable;
                                                                                     ^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:953:95: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSWindowStyleMask NSTexturedBackgroundWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskTexturedBackground", macosx(10.0, 10.12)) = NSWindowStyleMaskTexturedBackground;
                                                                                              ^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:954:99: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSWindowStyleMask NSUnifiedTitleAndToolbarWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskUnifiedTitleAndToolbar", macosx(10.0, 10.12)) = NSWindowStyleMaskUnifiedTitleAndToolbar;
                                                                                                  ^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:955:87: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSWindowStyleMask NSFullScreenWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskFullScreen", macosx(10.0, 10.12)) = NSWindowStyleMaskFullScreen;
                                                                                      ^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:956:96: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSWindowStyleMask NSFullSizeContentViewWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskFullSizeContentView", macosx(10.0, 10.12)) = NSWindowStyleMaskFullSizeContentView;
                                                                                               ^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:957:84: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSWindowStyleMask NSUtilityWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskUtilityWindow", macosx(10.0, 10.12)) = NSWindowStyleMaskUtilityWindow;
                                                                                   ^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:958:85: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSWindowStyleMask NSDocModalWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskDocModalWindow", macosx(10.0, 10.12)) = NSWindowStyleMaskDocModalWindow;
                                                                                    ^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:959:89: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSWindowStyleMask NSNonactivatingPanelMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskNonactivatingPanel", macosx(10.0, 10.12)) = NSWindowStyleMaskNonactivatingPanel;
                                                                                        ^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:960:80: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSWindowStyleMask NSHUDWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskHUDWindow", macosx(10.0, 10.12)) = NSWindowStyleMaskHUDWindow;
                                                                               ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:11:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:111:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSSlider.h:9:
/System/Library/Frameworks/AppKit.framework/Headers/NSSliderCell.h:124:81: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSTickMarkPosition NSTickMarkBelow API_DEPRECATED_WITH_REPLACEMENT("NSTickMarkPositionBelow", macosx(10.0, 10.12)) = NSTickMarkPositionBelow;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSSliderCell.h:125:81: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSTickMarkPosition NSTickMarkAbove API_DEPRECATED_WITH_REPLACEMENT("NSTickMarkPositionAbove", macosx(10.0, 10.12)) = NSTickMarkPositionAbove;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSSliderCell.h:126:80: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSTickMarkPosition NSTickMarkLeft API_DEPRECATED_WITH_REPLACEMENT("NSTickMarkPositionLeading", macosx(10.0, 10.12)) = NSTickMarkPositionLeading;
                                                                               ^
/System/Library/Frameworks/AppKit.framework/Headers/NSSliderCell.h:127:81: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSTickMarkPosition NSTickMarkRight API_DEPRECATED_WITH_REPLACEMENT("NSTickMarkPositionTrailing", macosx(10.0, 10.12)) = NSTickMarkPositionTrailing;
                                                                                ^
/System/Library/Frameworks/AppKit.framework/Headers/NSSliderCell.h:129:74: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSSliderType NSLinearSlider API_DEPRECATED_WITH_REPLACEMENT("NSSliderTypeLinear", macosx(10.0, 10.12)) = NSSliderTypeLinear;
                                                                         ^
/System/Library/Frameworks/AppKit.framework/Headers/NSSliderCell.h:130:76: error: expected a version of the form 'major[.minor[.subminor]]'
static const NSSliderType NSCircularSlider API_DEPRECATED_WITH_REPLACEMENT("NSSliderTypeCircular", macosx(10.0, 10.12)) = NSSliderTypeCircular;
                                                                           ^
In file included from go/src/github.com/variadico/noti/banner/banner_osx.go:11:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:115:
/System/Library/Frameworks/AppKit.framework/Headers/NSGridView.h:210:12: error: unknown property attribute 'class'
@property (class, readonly, strong) NSView *emptyContentView; // This view is used as a marker in NSGridView's "...WithViews:" methods to indicate a cell whose contentView should be nil.
           ^
383 errors generated.

Nomenclature to use noti with Slack

Description

Trying to use noti with slack and it looks I don't get the right nomenclature at this point.
I want to put this within a fonction that will be called by a cron.

What's wrong here?

Cheers!
Pascal

Steps to reproduce

echo "test slack" \ 
noti -k -m "The task XYZ is done - $(date +%Y-%m-%d_%Hh%M_%S)" \
-e NOTI_SLACK_TOK="sometokenq53yq3-5y-q35yq345yq45y-aergaergaergaergaerg" \
-e NOTI_SLACK_DEST="#cron"

Version

go version go1.7.4 linux/amd64
noti v2.5.0

Notifications for aliased commands

Description

I would like to use noti to execute aliased commands. For example, I frequently use this alias:

alias hb='brew update; brew upgrade; brew cleanup'

When I tried running noti hb, I got this notification:

screen shot 2016-07-15 at 5 39 30 pm

Exit 1 not resulting in noti failure message.

Description

When running noti with noti -t $PSNAME -m "Script success" ~/scripts/script.sh, I know the script is ending with exit 1 or die "foo" but noti always processes this as a success and displays the success notification.

This may just be a personal misunderstanding of how noti/go processes errors.

Use case

When a command returns with exit code 1.

Steps to reproduce

Create script.sh:

#!/bin/bash
exit 1

Run with command noti -t "Test" -m "Test" script.sh

Expected behavior

Noti displays a notification with the exit message and plays the NOTI_SOUND_FAIL sound

Actual behavior

Noti displays a notification with the "Test" message and plays the NOTI_SOUND sound

Version

noti v2.1.1
go v1.6

Display buttons on notifications

Feature request :
Display buttons on notifications :

It would be cool to add a hook on the button like :

chmod u+x noti --button="openfolder@open ."

This command would display a close and a button "openfolder", when i click the last button, it will exec the command "open ."

Bellow an exemple of osx notification with action buttons

Can't assign tags to issues

CONTRIBUTING.md says:

Try to tag your issue appropriately. If the issue is a bug report, use the bug tag; if it's a feature request use the enhancement tag.

But third-parties can't do it. Probably contributing guidelines should be changed.

Specify the sound for a specific notification

After playing with v2.0.0 for a bit, I was curious, how easy would it be to bring back the -s tag for sounds rather than speech? I like the speech option but it is much more beneficial to me to be able to specify the sound for a specific notification.

For example, I'm using noti to notify me when build/deployments are complete or have failed. It was nice being able to specify the "Hero" sound for the error notification so I could easily tell the difference. The only option I have at the moment is to set a system variable before and after the noti call, which is not ideal.

@KingKrimmson

Noti doesn't trigger banner notification on Sierra

Description

noti doesn't trigger banner notifications on Sierra.

Steps to reproduce

  1. Installed Xcode 8 as described here: #29 (comment)
  2. Ran go get -u github.com/variadico/noti/cmd/noti
  3. Ran noti

Expected behavior

I should have seen a macOS banner notification.

Actual behavior

Nothing.

Version

  • Go 1.6.3 darwin/amd64
  • macOS 10.12 (16A254g) Sierra.
  • Latest dev

Feature request: built-in parameters

I would like to be able to make a custom build of noti with specified default values for environment variables and flags. This will allow me to copy noti to a remote server and just run it there, without setting flags and environment variables.

That can be achieved with -X linked flag: https://golang.org/cmd/link/

Feature request: envvar to set title/message prefix/suffix

I run noti on multiple machines. I'd like to be able to set an envvar that sets a default title or message prefix or suffix to help disambiguate the source of the notifications. (There don't need to be four envvars in order to handle every title/message prefix/suffix combination; any one of them would do.) Then I could run noti -t foo but receive a message like foo (laptop). Thanks, and thanks for noti!

Allow custom sound effects

Would it be possible/easy to allow for the use of Custom sound effects if they are proprely configured in the OS? Even if this means I need to modify my local noti instance.

From #25

Can't use title when running scripts

Description

When using a command like noti -t "Test" ~/scripts/build.sh, Title is overridden by script path (i.e. "/Users/Chris/scripts/build.sh" instead of "Test") for success and failure.

Use case

Would be great to be able to specify title as I use a system property $DSNAME to signify which project is done/failed building, deploying, etc.

Version

go v1.6
noti v2.1.0

Enjoying this > "Say thanks"

Here is the place to show your appreciation.
Cheers!

Disclaimer: I don't have any kind of connexion with the maintainer of this project. Pure gratitude here :)

Report command runtime

It would be convenient to have an option to cause noti to report the elapsed runtime of the command that just finished. e.g.,

noti make
==> Done after 5:23:26!

Happy to send a PR if you agree this would be useful.

Feature request: use command output as message.

It would be helpful to allow noti to read notification message from command. For example, running noti -m=- make will send a notification with the last line of output (stdout or stderr; not sure how you use stdout and stderr now; maybe combined?).

Feature request: -o / -b should toggle NOTI_DEFAULT settings

Suppose I have NOTI_DEFAULT="banner pushover". If I then run noti -o, I would like no pushover notification; that is, -o should toggle whatever NOTI_DEFAULT has. Without this, short of the much more verbose NOTI_DEFAULT="banner" noti, there's no way to temporarily disable pushover notifications. Similarly so for the other destination command line flags.

Homebrew needs to be updated to install v2.0.0

Was just browsing your repo again today and noticed the new v2.0.0 release! Looks great and excited to try. Couldn't install with homebrew (still using v1.3.0) so I updated the Formula and submitted a pull request, should be done shortly.

For the record, I had to increment the dev version to v2.0.1-rc.1 to prevent a homebrew error. Aware this is not actually a version.

Homebrew Pull Reqest for noti 2.0.0

Feature request: read message from stdin.

It would be helpful to allow noti to read notification message from stdin. For example, running make | noti -m=- will send a notification with the last line of stdin.

Update go-toast

Hey, just wanted to let you know that a new version of toast (formerly go-toast) is available, which makes it possible for users with a freshly installed version of Windows 10 to use toast notifications. Previously they would have to change their PowerShell execution policy globally, now none of that is necessary.

Also, just wanted to point out that the repo has moved to go-toast/toast so it can be more easily used with gopkg.in. And one other thing to note is that in the move to v1, I added audio & duration support (etc...), however you now need to specify a sound, or the toast will be silent. Just thought I'd mention that :)

Thanks again for using toast :)

Investigate way to reduce usage friction

Currently, the biggest obstacle to using noti is remembering to use it. I've tried to ease this a little by allowing the command to be run,

  • at the beginning, noti foo
  • at the end, foo; noti
  • and after running a command, foo, remember, noti -w $(pgrep foo).

Unix: audible notifications

We noted during #5 that sound with the -s flag is only supported on OS X.

I rembebered reading @tv42 comment on reddit about using speech synthesis to give more context to what happened.

Thoughts?

If wanted we could make audibly platform independent and integrate it here as well.

which OS are supported?

The README.md does not mention which operating systems are supported by this package - the screenshot and "OSX" section suggest it's OSX only, but can that information be explicitly added to prevent people from getting their hopes up? (or, if everything supports it, yay! That's good to mention)

Support for Linux?

Linux uses a notify-send tool to send similar kind of notifications, I'd love to send a PR, will you be open to merge it?

Custom sounds not working in High Sierra

Description

So last night, I upgraded to High Sierra. This morning, noti no longer respects the configuration for custom sounds and is now just playing the default sounds. I confirmed that the sounds are still present and working in the MacOS "Sound Effects" window. I confirmed that I am running noti v2.7.0 and I confirmed that the environment values are being set correctly

Steps to reproduce

  1. Add custom alert sound to mac (I use TNGViewscreen)
  2. Configure this sound in noti (export NOTI_SOUND=TNGViewscreen)
  3. Run noti
  4. Default MacOS sound plays

Version

MacOS High Sierra 10.13.1
go v1.9.2
noti v2.7.0

Click on a banner notification in OS X causes weird behavior

On some computers, clicking on the notification doesn't do anything.

On other computers, clicking on the notification causes a new terminal window to open, run noti again, and then close.

Expected behavior
Clicking on a banner notification should open either Terminal.app or iTerm2.app.

Bash profiles

Is there a way to load bash profiles and execute it as a bash command?

OS X: Banners vs Alerts

Currently noti displays Banners. Banners go away automatically after a few seconds so you might easily miss them.
Would it be possible to trigger Alerts also - when passing in some option like 'noti -a echo hello' or whatever?
Or is this already possible somehow?

fyi, for regular apps you can specify this on a per App basis in "System preferences -> Notifications":

i

Version

$ go version
go version go1.7.1 darwin/amd64

$ noti -version
noti v2.3.0
latest: v2.3.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.