Recently, I started getting this error repeatedly. I truncated the flags, as it just shows all of the available cli flags. I thought perhaps it was a mistype of "--file-export", but then that flag doesn't exist in the list either, so I am not sure what it was supposed to be.
2023-02-03 20:44:27.134 [error] [Extension Host] [WakaTime][ERROR] Error: unknown flag: --file-expert
Usage:
wakatime-cli [flags]
Flags:
--alternate-branch string Optional alternate branch name. Auto-detected branch takes priority.
--alternate-language string Optional alternate language name. Auto-detected language takes priority.
--alternate-project string Optional alternate project name. Auto-detected project takes priority.
--api-url string API base url used when sending heartbeats and fetching code stats. Defaults to https://api.wakatime.com/api/v1/.
--category string Category of this heartbeat activity. Can be "coding", "building", "indexing", "debugging", "running tests", "writing tests", "manual testing", "code reviewing", "browsing", or "designing". Defaults to "coding".
--config string Optional config file. Defaults to '~/.wakatime.cfg'.
--config-read string Prints value for the given config key, then exits.
--config-section string Optional config section when reading or writing a config key. Defaults to [settings]. (default "settings")
...
time="2023-02-03T20:44:27-06:00" level=fatal msg="failed to run wakatime-cli: unknown flag: --file-expert"
2023-02-03 20:45:40.904 [error] [Extension Host] [WakaTime][ERROR] Error: unknown flag: --file-expert
Usage:
wakatime-cli [flags]
Flags:
--alternate-branch string Optional alternate branch name. Auto-detected branch takes priority.
--alternate-language string Optional alternate language name. Auto-detected language takes priority.
--alternate-project string Optional alternate project name. Auto-detected project takes priority.
--api-url string API base url used when sending heartbeats and fetching code stats. Defaults to https://api.wakatime.com/api/v1/.
--category string Category of this heartbeat activity. Can be "coding", "building", "indexing", "debugging", "running tests", "writing tests", "manual testing", "code reviewing", "browsing", or "designing". Defaults to "coding".
--config string Optional config file. Defaults to '~/.wakatime.cfg'.
--config-read string Prints value for the given config key, then exits.
--config-section string Optional config section when reading or writing a config key. Defaults to [settings]. (default "settings")
...
time="2023-02-03T20:45:40-06:00" level=fatal msg="failed to run wakatime-cli: unknown flag: --file-expert"
Recently, I started getting this error repeatedly. I truncated the flags, as it just shows all of the available cli flags. I thought perhaps it was a mistype of "--file-export", but then that flag doesn't exist in the list either, so I am not sure what it was supposed to be.