API surface for initialisng application? #523
Labels
No Label
applications
BLOCKED
bug
design
duplicate
enhancement
fixed?
funding-needed
help wanted
infrastructure
invalid
payments
qubes
question
ready-for-implementation
refactor
spam
tapir-server
testing
tor
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cwtch.im/cwtch#523
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In both
cwtchbot
c34d073059/bot.go (L73-L118)
andcairde
f5f90e8347/cairde.go (L188-L256)
we need to prepare everything required to make theapp := app.NewApp(acn, m.userDir, settingsFile)
call which involves some code that is starting to look like boilerplate?Would it be an idea to put this behind an API surface? E.g. a top-level
Launch() application.App
? There's maybe a few configurables to pass in which could follow the options approach of sarah/cwtchbot#2?